My Javascript Calculator. Functional and Beautiful? You decide

Here’s the link:

0.1*0.1 doesn’t work properly

Check out, my calculator. This issues easy to solve

Thanks Vlad, I fixed it using the Math.round(x * 100)/100; line i found in your code.

Thanks Logachev, for pointing that out. I found the cause; I used Math.round(ans*100)*100 for precision, now it has backfired, as evident from the screenshots you took. How do you suggest I fix this? Thanks in anticipation.