toFloat

abstract fun toFloat(): Float(source)

Returns the value of this number as a Float, which may involve rounding.

Since Kotlin

1.0