title: How to use replace() as adding '.' between the numbers?
body: <p>Using Javascript, if my number is 5899, I want to insert a decimal point between the numbers to get the result of 58.99. I know <code>(num/100).toFixed(2)</code> would work, but just wondering if there is a way for using replace.</p>