I need to be able to get each individual digit from an integer as an
integer.  I think I should be able to do this by using the >> operator, but
I just can't seem to figure it out.

For example if I have a number 123, I need to get 3, then the 2, then the 1.
It doesn't really matter the order, I just need the digits.  I suppose I
could convert it to a string and go that route, but that seems like a waste.

Does anyone have experience with this or can point me to some
examples/information.

Thanks

Jeff

To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm

Reply via email to