{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

Sgn

Returns the sign of the number.
For positive numbers 1 is returned, for negative -1 and for 0 is 0 returned.

Usage:

Sgn( X )

Parameters:

X The number to determine the sign of

Returns:

Numeric value

Examples:

//The value of variable x is the sign value
//of the current value of the database
//field {Angles} for each evaluation of this formula
NumberVar x = Sgn({Angles})
//some special values of sgn
Sgn(-100)     //-1
Sgn(-1)       //-1
Sgn(0)        //0
Sgn(1)        //1
Sgn(100)      //1
i-net Clear Reports
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - Sgn