I have a text field which displays the results of an API post to math.js . I would like the result to always be formatted as currency … with the $ and the two decimal places.

I have the following calculation set up;

{

“expr”: [

“5 + 5”

],

“precision”: 14

}

So the result is 10, but I want it formatted as $10.00 . Any ideas as to how this can work?