Commit b823d1fa authored by neo's avatar neo

[Bugfix] fixed cell value use new bigdecimal

parent 5a9910f8
...@@ -89,7 +89,7 @@ public class PSUM extends FunctionBase implements FreeRefFunction { ...@@ -89,7 +89,7 @@ public class PSUM extends FunctionBase implements FreeRefFunction {
cellValue = new BigDecimal(evalStr); cellValue = new BigDecimal(evalStr);
if (!dss.isEmpty()){ if (!dss.isEmpty()){
BigDecimal addManualResult = cellValue.add(dss.get(0).getAmount()); BigDecimal addManualResult = cellValue.add(dss.get(0).getAmount());
cellValue = addManualResult; cellValue = new BigDecimal(addManualResult.doubleValue());
} }
} catch (Exception e) { } catch (Exception e) {
if (!dss.isEmpty()) if (!dss.isEmpty())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment