This week's book giveaway is in the Android forum. We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line! See this thread for details.

I have a some numbers, all of them ranging from 1-100. Is there a code to look at only the number in the one's place. like for the number 96; make it only look at the number six. like i want to make a variable equal to whatever number is in the one's place. if anyone knows how to do this it would be greatly appreciated.

Originally posted by Paul Hobson: I have a some numbers, all of them ranging from 1-100. Is there a code to look at only the number in the one's place. like for the number 96; make it only look at the number six. like i want to make a variable equal to whatever number is in the one's place. if anyone knows how to do this it would be greatly appreciated.

Looks like a home work! Here is a hint: Use Modulo Division