toShort

abstract fun toShort(): Short(source)

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

Since Kotlin

1.0
abstract fun toShort(): Short(source)

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

Since Kotlin

1.1
abstract fun toShort(): Short(source)

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

Since Kotlin

1.3