MOD just gives you the remainder after dividing by the specified number - if it's 0 then the number divides into the original exactly.
just use ABS(X) MOD 10 to avoid probs with negative numbers, but then you shouldn't have a level numbered below 1 anyway I would think.
just use ABS(X) MOD 10 to avoid probs with negative numbers, but then you shouldn't have a level numbered below 1 anyway I would think.