Reference FQL API reference Math Math.sign() Math.sign() Get the sign of a Number. Signature Math.sign(x: Number) => Number Description Gets the sign of a provided Number. If the Number is positive, returns 1. If the Number is negative, returns -1. Parameters Parameter Type Required Description x Number true A number. Return value Type Description Number A number representing the sign of the provided number: 1 = The number is positive. -1 = The number is negative. Examples Math.sign(-3) -1 Math.round() Math.sin()