Template:Gcd/doc

From blackwiki
< Template:Gcd
Revision as of 20:18, 6 February 2019 by imported>Gonnym (not deprecated per Wikipedia talk:Lua#Template:Gcd)
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