Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Global::greatestCommonDivisor Method [AX 2012]

Calculates the greatest common divisor of two specified integers.

client server public static int greatestCommonDivisor(int _firstInteger, int _secondInteger)

Run On



Type: int
The first integer.
Type: int
The second integer.

Return Value

Type: int
The greatest common divisor of two integers.
© 2015 Microsoft