Map but different

Hi there!

Super simple question but I have been looking for an hour, but can't find the right search terms. I am looking for a function to "scale" a variable, it counts from 0 to 4,294,967,295 but I need a function to let it go from 0 to lets say 99, then the variable itself goes to 100 but the output of the function goes back to 0 so essentially subtracting 100. When it hits 99 again it subtracts 100 again. I have used such a function in Max/MSP so I'm sure Arduino has something similar.

Modulus. Specifically % 100. Bear in mind the result transitions from 95 to zero when 4,294,967,295 rolls over.