Global::greatestCommonDivisor Method [AX 2012]

Calculates the greatest common divisor of two specified integers.

Syntax

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

Run On

Called

Parameters

  • _firstInteger
    Type: int
    The first integer.
  • _secondInteger
    Type: int
    The second integer.

Return Value

Type: int
The greatest common divisor of two integers.

See Also

Reference

Global Class