Lucee Function Reference
sgn()
Determines the sign of a number.
Example
sgn(number number):number
Category
number,math
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
number | number | Yes | A number |