toShort

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

Converts this Float value to Short.

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