Returns the greatest common divisor of two numbers. That is, the smallest number that is a whole-number factor of both numbers.


  • MATH
  • NUM
  • 9:gcd(



This gets a fraction. It prints the fraction. Then it simplifies the fraction by dividing both numbers by the gcd. Then it prints the fraction again.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.