Absolute Value

Return the absolute value without using math.abs.

Topics: numbers, conditionals, math. Solve this Luau challenge inside Luablox with visible examples and hidden tests.

Browse all Luau problems

Read a theory lesson