Number.Sign

About

Returns 1 for positive numbers, -1 for negative numbers or 0 for zero.

Syntax

Number.Sign(number as nullable number) as nullable number  

Arguments

Argument Description
number Number to evaluate.

Examples

Number.Sign(-1) equals -1  
Number.Sign(1) equals 1