Template:Mod

This template is simple - give it two parameters, and it returns the value of parameter 1 modulo parameter 2 - that is, the leftover after subtracting parameter 2 as many times as possible from parameter 2.

Examples:

=

= (trivial, of course.  All Xmod1 = 0.)

=