isolating a digit

spatula:
Now, allow me to expand a little bit: if value = 1106, what is value %= 1000?

Hmmm, a bit rusty on basic math? The answer is 106.