toInt

abstract fun toInt(): Int(source)

将当前数字转为 Int. 类似于 Number.toInt.

See also