Math.exp with BigDecimal
807588Mar 12 2009 — edited Mar 12 2009Hi
I am trying to do
currentSp = Math.exp(currentSpVal.add(runningSpVal));
where currentSp , currentSpVal and runningSpVal are all BigDecimals.
Is there a way to do this without using Math.exp(double) and directly with BigDecimals and not type double.
The given line of code obviously gives an error.
Thanks