Commit 3133d78b authored by neo's avatar neo

[DEV] change other define for cellValue

parent 15c40587
......@@ -87,8 +87,10 @@ public class PSUM extends FunctionBase implements FreeRefFunction {
logger.debug("[PSUM_debug] eval other cell value {}", evalStr);
try {
cellValue = new BigDecimal(evalStr);
if (!dss.isEmpty())
cellValue = cellValue.add(dss.get(0).getAmount());
if (!dss.isEmpty()){
BigDecimal addManualResult = cellValue.add(dss.get(0).getAmount());
cellValue = addManualResult;
}
} catch (Exception e) {
if (!dss.isEmpty())
cellValue = dss.get(0).getAmount();
......
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