Function Amount.percentage

Take a percentage of the value

bool percentage (
  ushort pct
) pure nothrow @nogc @safe;

Parameters

NameDescription
pct Requested percentage