Skip to content

The gcd() Command

Command Summary Command Syntax Calculator Compatibility
Finds the Greatest Common Denominator gcd(int1,int2) This command works on all calculators.

N/A

The gcd() Command

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.

Authors: KG