## Reliable JS rounding numbers with toFixed(2) of a 3 decimal number

I am simply trying to round up 1.275.toFixed(2) and I was expecting a return of 1.28, rather than 1.27.
Using various calculators and the simple method of rounding to the nearest hundredth, if the last digit is greater than or equal to five, it shou...

more
»