Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

java convert char to int

char something = '1';
int value = Integer.parseInt(something + "");
System.out.println(value);  // prints 1
 
PREVIOUS NEXT
Tagged: #java #convert #char #int
ADD COMMENT
Topic
Name
4+1 =