How Do Yo Check if a Level is a Multiple of 10?

Blitz3D Forums/Blitz3D Beginners Area/How Do Yo Check if a Level is a Multiple of 10?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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.