toLong

abstract fun toLong(): Long(source)

将当前数字转为 Long. 类似于 Number.toLong.

See also