toInt

abstract fun toInt(): Int(source)

Returns the value of this number as an Int, which may involve rounding or truncation.

Since Kotlin

1.0
abstract fun toInt(): Int(source)

Returns the value of this number as an Int, which may involve rounding or truncation.

Since Kotlin

1.1
abstract fun toInt(): Int(source)

Returns the value of this number as an Int, which may involve rounding or truncation.

Since Kotlin

1.3