WMLScript round() Function
Complete WMLScript Float Library
The round() function rounds the x parameter to the nearest integer.
Syntax
Part |
Description |
n |
The integer
returned from the function |
x |
A number |
Example
var a = Float.round(3.5);
var b = Float.round(3.4);
|
Result
Complete WMLScript Float Library
|
|
|