Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

convert string to int array

char c = '2';
int asInt = c - '0';
//asInt = 2 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #string #int #array
ADD COMMENT
Topic
Name
6+2 =