Difference between revisions of "Template:Gcd/doc"

From blackwiki
Jump to navigation Jump to search
imported>Ahecht
({{for|Great Circle Distance|Template:Great circle distance}})
imported>Gonnym
(not deprecated per Wikipedia talk:Lua#Template:Gcd)
Line 1: Line 1:
 
{{for|Great Circle Distance|Template:Great circle distance}}
 
{{for|Great Circle Distance|Template:Great circle distance}}
{{documentation subpage}}
+
{{Documentation subpage}}
{{Deprecated template}}
 
 
{{lua|Module:Math}}
 
{{lua|Module:Math}}
  

Revision as of 20:18, 6 February 2019

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