toShort

Common
JVM
JS
Native
1.0
@DeprecatedSinceKotlin("1.3", "1.5") fun toShort(): Short
Deprecated: Unclear conversion. To achieve the same result convert to Int explicitly and then to Short.

Converts this Double value to Short.

The resulting Short value is equal to this.toInt().toShort().