My Javascript Calculator. Functional and Beautiful? You decide

My Javascript Calculator. Functional and Beautiful? You decide
0.0 0

#1

Here’s the link:


#2

0.1*0.1 doesn’t work properly


#3

Check out, my calculator. This issues easy to solve


#4

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


#5


#6

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.