Answers for "convert string char to int java"

2

char to int

int n = Character.getNumericValue(char);
Posted by: Guest on December-07-2020
3

java convert char to int

char something = '1';
int value = Integer.parseInt(something + "");
System.out.println(value);  // prints 1
Posted by: Guest on March-24-2020

Code answers related to "convert string char to int java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language