toShort

external fun toShort(): Short(source)

Converts this value to Short.

Truncates towards zero and saturates to the Int range; NaN becomes zero. Then retains the lowest 16 bits, interpreted as a signed Short value.

Return

the converted Short value.