Answers for "int to unsigned byte java"

1

java big integer to int

yourInt = yourBigInteger.intValue();
Posted by: Guest on June-25-2021
3

int to byte

int i = 234;
byte b = (byte) i;
System.out.println(b); // -22
int i2 = b & 0xFF;
System.out.println(i2); // 234
Posted by: Guest on October-06-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language