kotlin-stdlib / kotlin / Number / toFloat toFloat Common JVM JS Native 1.0 abstract fun toFloat(): Float Returns the value of this number as a Float, which may involve rounding.