Functions
math.sign()
Sign (signum) of number is zero if number is zero, 1.0 if number is greater than zero, -1.0 if number is less than zero.
Syntax · 1 of 4
math.sign(const float number) → const float
Arguments
number required const float The number to use in the calculation. Return Type
const float Syntax · 2 of 4
math.sign(input float number) → input float
Arguments
number required input float The number to use in the calculation. Return Type
input float Syntax · 3 of 4
math.sign(simple float number) → simple float
Arguments
number required simple float The number to use in the calculation. Return Type
simple float Syntax · 4 of 4
math.sign(series float number) → series float
Arguments
number required series float The number to use in the calculation. Return Type
series float