get Percentualized Value
Method to percentualize a value
Return
percentualized value as double e.g.
100 | +10 | 110 |
100 | -10 | 90 |
Parameters
start Value
: value to percentualize
percentualizer
: percent slice to add or remove from start value
open fun getPercentualizedValue(startValue: Double, percentualizer: Double, decimalDigits: Int): Double
Method to percentualize a value
Return
percentualized value as double e.g.
101 | +2.5 | 103.52 | 2 |
100 | -10 | 98.47 | 2 |
Parameters
start Value
: value to percentualize
percentualizer
: percent slice to add or remove from start value
decimal Digits
: number of digits to round final value