Functions
math.abs()
Absolute value of number is number if number >= 0, or -number otherwise.
Syntax · 1 of 8
math.abs(const int number) → const int
Arguments
number required const int The number to use in the calculation. Return Type
const int Syntax · 2 of 8
math.abs(input int number) → input int
Arguments
number required input int The number to use in the calculation. Return Type
input int Syntax · 3 of 8
math.abs(simple int number) → simple int
Arguments
number required simple int The number to use in the calculation. Return Type
simple int Syntax · 4 of 8
math.abs(series int number) → series int
Arguments
number required series int The number to use in the calculation. Return Type
series int Syntax · 5 of 8
math.abs(const float number) → const float
Arguments
number required const float The number to use in the calculation. Return Type
const float Syntax · 6 of 8
math.abs(input float number) → input float
Arguments
number required input float The number to use in the calculation. Return Type
input float Syntax · 7 of 8
math.abs(simple float number) → simple float
Arguments
number required simple float The number to use in the calculation. Return Type
simple float Syntax · 8 of 8
math.abs(series float number) → series float
Arguments
number required series float The number to use in the calculation. Return Type
series float