toShort
Deprecated
Warning since 1.3
Error since 1.5
Unclear conversion. To achieve the same result convert to Int explicitly and then to Short.
Replace with
toInt().toShort()
Converts this Double value to Short.
The resulting Short
value is equal to this.toInt().toShort()
.
Since Kotlin
1.0Deprecated
Warning since 1.3
Error since 1.5
Unclear conversion. To achieve the same result convert to Int explicitly and then to Short.
Replace with
toInt().toShort()
Converts this Double value to Short.
The resulting Short
value is equal to this.toInt().toShort()
.
Since Kotlin
1.1Deprecated
Warning since 1.3
Error since 1.5
Unclear conversion. To achieve the same result convert to Int explicitly and then to Short.
Replace with
toInt().toShort()
Converts this Double value to Short.
The resulting Short
value is equal to this.toInt().toShort()
.
Since Kotlin
1.3Deprecated
Warning since 1.3
Error since 1.5
Unclear conversion. To achieve the same result convert to Int explicitly and then to Short.
Replace with
toInt().toShort()
Converts this Double value to Short.
The resulting Short
value is equal to this.toInt().toShort()
.
Since Kotlin
1.8Deprecated
Warning since 1.3
Error since 1.5
Unclear conversion. To achieve the same result convert to Int explicitly and then to Short.
Replace with
toInt().toShort()
Converts this Double value to Short.
The resulting Short
value is equal to this.toInt().toShort()
.