public static float MathEx.GetPercentage(float current, float max, bool isHundredHigh = true)
Returns percentage using the supplied arguments.
currentfloat- Specifies current.
maxfloat- Specifies max.
isHundredHighbool- Specifies is hundred high. Optional; the default is shown in the signature.
Returns: The float result.