toFloat

abstract fun toFloat(): Float(source)

将当前数字转为 Float. 类似于 Number.toFloat.

See also