Returns the sign of the input number. If the input is less than zero, returns -1. If the input is greater than zero, returns +1. If the input is zero, returns 0.

Inputs

Number Name Object Type Description Optional
1 Number System.Double Number No

Outputs

Number Name Object Type Description
1 Value System.Int32 The sign of the input number

Sign.PNG