Template:Gcd

From blackwiki
Revision as of 14:38, 23 December 2013 by imported>Mr. Stradivarius (re-add the {{documentation}} template)
Jump to navigation Jump to search

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