Function Amount.mul

Multiply this Amount by multiplier

bool mul (
  ulong multiplier
) pure nothrow @nogc @safe;

Parameters

NameDescription
multiplier Multiplier

Returns

true if the addition returned a number within bounds. false if the number is out of the [0; MaxUnitSupply] bound.