DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
convert string to int array
char c = '2'; int asInt = c - '0'; //asInt = 2
Source by www.sitepoint.com #
PREVIOUS
NEXT
Tagged:
#convert
#string
#int
#array
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit