toDouble

abstract fun toDouble(): Double(source)

将当前数字转为 Double. 类似于 Number.toDouble.

See also