Question about computing remainder...

I'm trying to compute the remainder when the adjustedTotal is divided by 10.What would that formula look like?
[125 byte] By [Drey30] at [2007-9-30 21:10:05]
# 1
Nobody? :(
Drey30 at 2007-7-7 2:43:08 > top of Java-index,Java Essentials,Java Programming...
# 2
If you are working in integers,int remainer = adjustedTotal % 10;(It's called the mod or modulo operator)
bbritta at 2007-7-7 2:43:08 > top of Java-index,Java Essentials,Java Programming...
# 3
Thank you. :)
Drey30 at 2007-7-7 2:43:08 > top of Java-index,Java Essentials,Java Programming...