All integer values are "objects" of this class.
( ) : float
Converts this integer value to float.
( ) : int
Simply returns value of the integer.
Returns string representation of the integer using one of radix value: 10(default), 8 or 16.
( [radix: int] ) : string
Returns string escaped by html rules. Is an alias of the toString() method here.
( [radix: int] ) : string
Returns string escaped by url rules. Is an alias of the toString() method here.
Simply returns value of the integer itself.
( ... ) : int
Static method - returns minimum value of arguments. E.g. Integer.min(1, 2, 3) will return 1.
( ... ) : int
Static method - returns maximum value of arguments. E.g. Integer.min(1, 2, 3) will return 1.
( min:int, max:int ) : int
This is exactly the following:
function Integer.limit(min, max) { if( this < min ) return min; if( this > max ) return max; return this; }