utilGreatestCommonDivisor

fnint utilGreatestCommonDivisor(int a, int b)

Calculates the greatest common divisor of a and b.

Parameters

aFirst value as #gint
bSecond value as #gint

Returns

Greatest common divisor of a and b