toByte
Deprecated
Warning since 1.3
Error since 1.5
Unclear conversion. To achieve the same result convert to Int explicitly and then to Byte.
Replace with
toInt().toByte()
Converts this Float value to Byte.
The resulting Byte
value is equal to this.toInt().toByte()
.
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 Byte.
Replace with
toInt().toByte()
Converts this Float value to Byte.
The resulting Byte
value is equal to this.toInt().toByte()
.
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 Byte.
Replace with
toInt().toByte()
Converts this Float value to Byte.
The resulting Byte
value is equal to this.toInt().toByte()
.
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 Byte.
Replace with
toInt().toByte()
Converts this Float value to Byte.
The resulting Byte
value is equal to this.toInt().toByte()
.