I have a situation here in javascript
**Value**       **Expected**  **toFixed(2)**
var a = 0.0273 |  0.0273     |  0.03(X)
var b = 0.8    |  0.80       |  0.80
var b = 53.7   | 53.70       | 53.70
When four digits come after the decimal point, leave it as it is, but if a single digit comes, a zero should be appended.
toFixed() method didn't help me much.
 
     
     
    