Difference between revisions of "Template:Gcd"

From blackwiki
Jump to navigation Jump to search
imported>Ezhiki
(moved documentation out)
imported>Prolog
m (Protected Template:Gcd: High-risk template [edit=sysop:move=sysop])
(No difference)

Revision as of 18:07, 13 December 2007

50px Template documentation[view] [edit] [history] [purge]

This template calculates the greatest common divisor (gcd) of two or more parameters.

Examples

  • {{gcd|16|6}} → 2
  • {{gcd|360|180|120|90}} → 180
  • {{gcd|544|119}} → 17
  • {{gcd|2089|3571}} → 0