+1 888 340 6572

Sign

From MultiCharts
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Returns a numerical value, indicating the sign of the value of the specified numerical expression.

A value of 1 is returned for a positive value, -1 is returned for a negative value, and 0 is returned for the value of 0.

Usage

Sign(Value);

Where:

Value - a numerical expression.

Examples

Sign(5);

Will return a value of 1.

Sign(-2.85)

Will return a value of -1.

Sign(0)

Will return a value of 0.