abs

abs(a: number) 🡒 number, pure function

Returns the absolute value of a number.

Example:

x = -5
y = abs(x)
show scalar "" with y

Similar to the ABS function in Excel.