I typed in the console :
var number = .14
number.toFixed(2)
"0.14"
number.toFixed(2)*100
14.000000000000002
This only happens to .14, but not other values. Like .16 works fine. Anyone knows what is going on underneath the hood ? Super weird.
Seen in the comments, if I would like to get trim off/round the result, what should I do if not using toFixed(2)?