Answers for "java remove first digit from int"

0

java remove first digit from int

int x = 123456789;
int new_x = Integer.parseInt(Integer.toString(x).substring(1));
Posted by: Guest on April-03-2021

Code answers related to "java remove first digit from int"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language