toShort

expect abstract fun toShort(): Short(source)

Returns the value of this number as a Short, which may involve rounding or truncation.

Since Kotlin

1.0
actual abstract fun toShort(): Short(source)

Returns the value of this number as a Short, which may involve rounding or truncation.

Since Kotlin

1.1
actual abstract fun toShort(): Short(source)

Returns the value of this number as a Short, which may involve rounding or truncation.

Since Kotlin

1.0
actual abstract fun toShort(): Short(source)

Returns the value of this number as a Short, which may involve rounding or truncation.

Since Kotlin

1.3