Function Amount.gcd

static Amount gcd (
  in const(Amount[]) ams
) pure nothrow @nogc @safe;

Returns

Greatest common divisor of Amounts in ams