Template:Rder: Difference between revisions

From Wikishire
Jump to navigation Jump to search
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..."
 
RB (talk | contribs)
No edit summary
 
Line 5: Line 5:


The purpose of the template is to provide a sub-routine within other working templates involving relevant calculations.
The purpose of the template is to provide a sub-routine within other working templates involving relevant calculations.
[[Category:Working templates|Rder]]<noinclude>
[[Category:Numbers template|Rder]]<noinclude>

Latest revision as of 22:33, 25 April 2018

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.