Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

New to java: How to convert a char to int?

0 views
Skip to first unread message

hyang5

unread,
Sep 17, 2002, 10:05:02 AM9/17/02
to
In my simple program, I need to convert each characters of a string into
individual digit, I know I can use a for loop and charAt method to get each
character, but how can I convert the characters to digits? Thanks for your
answers.

ghl

unread,
Sep 17, 2002, 10:23:21 AM9/17/02
to
"hyang5" <hya...@learn.senecac.on.ca> wrote in message
news:c9a733bd.02091...@posting.google.com...
Don't multipost. See my response in cljp.
--
Gary


0 new messages