toFloat

external fun toFloat(): Float(source)

Converts this value to Float.

Rounding may lose precision. Values too large for Float become signed infinity; very small values may round to signed zero. NaN and infinities are retained.

Return

the floating-point representation.