I am trying to deal with JavaScript values such as 23.45, but I want to be able to do mathematical operations on these values (addition, subtraction, multiplication
23.45
The toFixed method can round to a given number of decimals.
There is also a Javascript sprintf implementation.