title: Reliable JS rounding numbers with toFixed(2) of a 3 decimal number
body: <p>I am simply trying to round up <code>1.275.toFixed(2)</code> and I was expecting a return of <strong>1.28</strong>, rather than 1.27.</p>
  
  <p>Using various calculators and the simple method of rounding to the nearest hundredth, if the last digit is greater than <strong>or equal to</strong> five, it <em>should</em> round up.</p>
  
  <p>If this doesn't work with toFixed(2), how would it?</p>
  
  <p>People asking whether console.log(1.275.toFixed(2)) prints off 1.28, here's a quick screenshot MacOS Chrome Version 55.0.2883.95 (64-bit)</p>
  
  <p><a href="https://i.stack.imgur.com/MzcT8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MzcT8.png" alt="enter image description here"></a></p>