Template:Gcd
Revision as of 18:07, 13 December 2007 by imported>Prolog ({{pp-template}})
| This template uses Lua: |
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
| The above documentation is transcluded from Template:Gcd/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |