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

Mani
Quaerendo Invenietis

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.

subject: Trying to look at only at the number in the "ones" digit place