Method Math2.PercentFromValue(+ 1 overload)
Overload
Calculates how many % of whole is part: 100L * part / whole
.
public static int PercentFromValue(int whole, int part, bool canRoundUp = false)
Parameters
Returns
Exceptions
Overload(top)
Calculates how many % of whole is part: 100 * part / whole
.
public static double PercentFromValue(double whole, double part)