The gcd() Command

gcd.png

Command Summary

Finds the Greatest Common Denominator

Command Syntax

gcd(int1,int2)

Menu Location

This command can't be found in any menu besides the command catalog.

Calculator Compatibility

This command works on all calculators.

The gcd( command is used, as its name implies, to find the greatest common divisor of two numbers.

:gcd(351,65)
              returns 13

Error Conditions

260 - Domain error happens when an argument is not real.

Related Commands

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.