JavaScript can't count

I know that 0.1016 / 0.254 = 0.4. JavaSript is trying to prove me that it’s 0.3(9). What’s the problem?