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