gtg to work, no time to test.
iXP -= iXP %10
Does this return the lower number that is dividable by 10?
512->510
748->740
To my understanding (iXP %10) would return iXP, after it has been divided by 10 as many times as it can be without going decimals. Is this how modulos work, or am I completely off the track?