toByte
Returns this number as Byte.
Calling from Kotlin
Here's an example of calling this function from Kotlin code:
val number: Byte = Zero()
.toByte()
println(number) // 0
Content copied to clipboard
Calling from Java
Here's an example of calling this function from Java code:
final Zero zero = new Zero();
final byte number = zero.toByte();
System.out.println(number); // 0
Content copied to clipboard