Difference between revisions of "Template:Gcd"

From blackwiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
(re-add the {{documentation}} template)
imported>Prolog
m (Removed protection from "Template:Gcd": Template has been deprecated)
 
(No difference)

Latest revision as of 21:16, 23 March 2017

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}} → 30
  • {{gcd|544|119}} → 17
  • {{gcd|2089|3571}} → 1