Commit 49c4bdc2 authored by eddie.woo's avatar eddie.woo

modify

parent 518fce8a
...@@ -62,7 +62,7 @@ public class WPSR extends FunctionBase implements FreeRefFunction { ...@@ -62,7 +62,7 @@ public class WPSR extends FunctionBase implements FreeRefFunction {
return NumberEval.ZERO; return NumberEval.ZERO;
} }
ValueEval result = NumberEval.ZERO; ValueEval result = NumberEval.ZERO;
String formulaExpression = "WPSR(" + type + "," + rate + ")"; String formulaExpression = "WPSR(" + type + "," + rate + "," + valType + ")";
try { try {
int period = formulaContext.getPeriod(); int period = formulaContext.getPeriod();
int year = formulaContext.getYear(); int year = formulaContext.getYear();
......
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