Hello,
I am using the “<$calc>” widget for operations that I can’t make with the usual mathematics operators. And I would like the result to appear rounded to two decimals but I can’t find how.
For exemple :
<$calc>fix(7.12333)</$calc> displays 7 but I want it to show 7,12.
How can I specify the number of decimals? The Math.js way doesn’t seem to be working here (“Unable to parse”).
A workaround may also work for me.
I understand this may be a beginner’s question, but any clue would still be appreciated.
Thanks in advance !