Need Help: Math.js API Call

Hello Bubblers,

I am unable to find the right way to use Math.js API call. I am using it to calculate a value and store it in the database. Here is my implementation:

However, the calculation output is not correct. Here’s the result:
Screen Shot 2020-04-07 at 9.44.26 AM

The API call is supposed to return 12+(1)=13
But the result is 12. What am I doing wrong?

I appreciate your time!

Use expression sum(x,y)

This topic was automatically closed after 70 days. New replies are no longer allowed.