Skip to content

Documentation / base / toFloat

Function: toFloat()

toFloat(val): number

Defined in: libs/base/src/math/misc.ts:34

Convert a number to 32 bit float value

Parameters

val

number

The number to be converted

Returns

number

32bit float value

Released under the MIT License.