Unclear conversion. To achieve the same result convert to Int explicitly and then to Short.
toInt().toShort()
Converts this Double value to Short.
The resulting Short value is equal to this.toInt().toShort().
Short
this.toInt().toShort()
Thanks for your feedback!