compute Proportion
Method to get proportion between two values
Return
proportion value as double
Parameters
start Value
: first value to make compare
last Value
: last value to compare and calculate proportion with start value
Throws
if startValue or lastValue are negative
Method to get proportion between two values and round it
Return
proportion value as double
Parameters
start Value
: first value to make compare
last Value
: last value to compare and calculate proportion with start value
decimal Digits
: number of digits to round final percent value
Throws
if startValue or lastValue are negative