Why does JS method .toFixed(1) not round consistently?

Viewed 25

Why does .toFixed() round differently in each of the following situations?

console.log((1.35).toFixed(1)); //1.4
console.log((6.35).toFixed(1)); //6.3

0 Answers
Related