A
Adrian Gibbons
Hello,
I need to get the units of a number.
i.e. if I had 12345 then I would want '5'.
I was looking at dividing the number by ten and using the modulus
operator repeatedly until I had only the units, but wondered if there
was an easier way?
Regards,
Adrian.
I need to get the units of a number.
i.e. if I had 12345 then I would want '5'.
I was looking at dividing the number by ten and using the modulus
operator repeatedly until I had only the units, but wondered if there
was an easier way?
Regards,
Adrian.