返回 WMLScript Float 库参考手册
round() 函数把一个数字舍入为最接近的整数。
n = Float.round(x)
var a = Float.round(3.5); var b = Float.round(3.4);
a = 4 b = 3
Search: