Template:Numtext/trunc1

This code is relying on a Wikimedia error.

"'Modulo', remainder of division after truncating both operands to an integer (PHP operator %). Caveat, div and mod are different from all programming languages. This has been fixed (but needs to be committed), see bugzilla:6068."

If fixed the code will probably have to change to