Version: v0.8.1 - Beta.  We welcome contributors & feedback.

Number.toFloat

toFloat() -> number

Description

Convert an integer to a floating point number.

$num = 123
$num.toFloat()
//= 123.0

See Also