WMLScript int() Function
The int() function returns the integer part of the x parameter value.
Syntax
n = Float.int(x)
Components | Description |
---|---|
n | The integer part returned by this function. |
x | A number. |
Example
var a = Float.int(5.32);
Result
a = 5