I'm looking for method to achieve the following:
var exampleIntOne = 170;
var exampleIntTwo = 1700;
var exampleIntThree = 17000;
var exampleIntFour = 170000;
I would like to be able to convert the above to the following expected result:
1.70
17.00
170.00
1700.00
I have tried: exampleIntOne.toFixed(2);
but this turns that example into: 170.00