THT
Install
Manual
Version: v0.8.0 - Beta. We welcome
contributors & feedback
.
Home
Manual
Number
Number.toFloat
toFloat() -> number
Description
Convert an integer to a floating point number.
$num = 123 $num.toFloat() //= 123.0
See Also
isFloat
isInt
toBoolean
toInt
toString
Back: Number