|
Newsletters
|
|
|
|
|
WMLScript Reference
WMLScript Reference
WMLScript > Float > int()
int() - The int Function
Usage: int(value)
Description: Returns the integer part of the given value. If the value is already an integer, the result is the value itself.
Example:var a = 3.14;
var b = Float.int(a); // b = 3;
var c = Float.int(-2.8); // c = -2;
Bookmark this page
|
|