Hello,
we use CalcQuick to calculate some formula. The below test code uses the YEAR(TODAY()) to get the year of today. But it receives #value error. Can you give example how to use it correctly?
var calculator = new CalcQuick();
calculator.setAutoCalc(false);
calculator.setKeyValue("__formula", "=YEAR(TODAY())");
calculator.refreshAllCalculations();
var val = calculator.getKeyValue("__formula");
console.log(val);
=> result is #VALUE! error
Thanks!
Hui