WMLScript floor() Function
Complete WMLScript Float Library
The floor() function returns the nearest integer that is not larger than the
x parameter.
Syntax
Part |
Description |
n |
The integer returned from the function |
x |
A number |
Example
var a = Float.floor(5.32);
var b = Float.floor(-5.32);
|
Result
Complete WMLScript Float Library
|
|
|