Float
-
construct()
Returns 0.0
Example:
new Float() //0.0
-
toInt()
Returns its floor as an int. Throws OverflowError if it cannot be represented as an int
Example
(1.0).toInt() //1
-
isNaN()
Returns if it is NaN
Example
(1.0).isNaN() //false