fround()

Gets the nearest 32-bit single precision float representation of a number.

This function is valid in v2.13.0 to v2.24.3. This function has been downloaded 60 times.

Parameter

{number} doubleFloat
A Number. If the parameter is of a different type, it will get converted to a number or to NaN if it cannot be converted.

Returns

{number}
The nearest 32-bit single precision float representation of the given number.