SIGN#

Functionality: #

This Oracle function will return a number to indicate if the passed value is positive, negative or zero

Parameters:#

NUMBER The original number

Returns: #

Number
-1 is returned if the number passed is less than 0
0 is returned if the number passed is 0
+1 is returned if the number passed is greater than 0

Errors:#

None

Example:#

sign(~)


Notes #

Click to create a new notes page