Fyrimynd:Gcd
Appearance
Uses Lua: |
This template calculates the greatest common divisor (gcd) of two or more parameters.
Dømi
[rætta wikitekst]- {{gcd|16|6}} → 2
- {{gcd|360|180|120|90}} → 30
- {{gcd|544|119}} → 17
- {{gcd|2089|3571}} → 1
Dokumentatiónin omanfyri er tikin frá Fyrimynd:Gcd/doc. (rætta | søga) Editors can experiment in this template's sandkassi (upprætta | mirror) and testcases (upprætta) pages. Please add categories to the /doc subpage. Undirsíður til hesa/hetta fyrimyndina. |