Template:Rder

From Wikishire
Revision as of 22:30, 25 April 2018 by RB (talk | contribs) (Created page with "<includeonly>{{#expr:({{{1}}}/{{{2}}}-floor({{{1}}}/{{{2}}}))*{{{2}}} }}</includeonly><noinclude>This template is to calculate the remainder in a division, or whether any give...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template is to calculate the remainder in a division, or whether any given number is divisible by another given number. Therefore:

  • {{rder|66|4}} gives 2
  • {{rder|64|4}} gives 0

The purpose of the template is to provide a sub-routine within other working templates involving relevant calculations.