Javascript – Seemingly inconsistent toFixed() behavior
I know the toFixed() function isn't meant to be used for rounding, but I still can't seem to make sense of why it sometimes rounds up and sometimes rounds down when the number ends in .5 Take a look at…