Re: noob question: easiest way to parse an int?
- From: "user" <z3phrn@xxxxxxxxx>
- Date: 18 Jul 2006 21:49:34 -0700
that sounds like it could work. if i divided by 10 twice, and got the
remainder of 930, i would have the "2nd" digit. is there a method that
lets me get the remainder of a number diving into another??
jmcgill wrote:
user wrote:
would the easiest way be to change the int into a string, break the
string up, then give back the interger representation of the digit im
looking for?
I'm pretty sure I'd do something that involves successive integer
divides by 10 although converting to string is not a horrible choice.
.
- Follow-Ups:
- Re: noob question: easiest way to parse an int?
- From: Oliver Wong
- Re: noob question: easiest way to parse an int?
- References:
- noob question: easiest way to parse an int?
- From: user
- Re: noob question: easiest way to parse an int?
- From: user
- Re: noob question: easiest way to parse an int?
- From: jmcgill
- noob question: easiest way to parse an int?
- Prev by Date: Re: noob question: easiest way to parse an int?
- Next by Date: Re: Can Java trim MP3 files?
- Previous by thread: Re: noob question: easiest way to parse an int?
- Next by thread: Re: noob question: easiest way to parse an int?
- Index(es):
Relevant Pages
|