Template:Gcd

From blackwiki
Revision as of 18:07, 13 December 2007 by imported>Prolog ({{pp-template}})
Jump to navigation Jump to search
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