INT
Syntax:
INT ( x )
Description: Computes x rounded down to an integer.
Arguments:
Name |
Type |
Description |
x |
number |
The value to be rounded down. |
Return Type and Value: number – The rounded-down value of x.
[Example:
INT(8.9) results in 8
INT(-8.9) results in -9
end example]