compute Asset Percent
Method to get percent between two values
Return
percent value as double e.g. 8 or -8
Parameters
start Value
: first value to make compare
last Value
: last value to compare and get percent by first value
Throws
if startValue or lastValue are negative
Method to get percent between two values and round it
Return
percent value as double e.g. 8 or -8
Parameters
start Value
: first value to make compare
last Value
: last value to compare and get percent by first value
decimal Digits
: number of digits to round final percent value
Throws
if startValue or lastValue are negative