DriveWorks Pro 15: Sign [send feedback...]

Sign

This function gets the sign of a number.

If the specified number is positive, the SIGN function will return 1.

If the specified number is negative, the SIGN function will return -1.

If the specified number is zero, the SIGN function will return 0.

Syntax

SIGN( [ Number] )

Number is a number or a reference to a number, that you want to determine the sign of.

Examples

Rule

Meaning
SIGN(FundsAvailableTextBoxReturn)Determines the sign of the return value from the FundsAvailableTextBox, if the value is positive, 1 is returned. If the value is negative, -1 is returned. If the value is zero, 0 is returned.

Example Outcomes

FundsAvailableTextBoxReturn Value

Result of the SIGN function

15001
00
-12-1

Table of Contents