Hello, I'm a computer engineer and I can fix your calculator. In my profile, you should see that some time ago I created a clone of the Windows calculator using HTML, CSS and JavaScript, so fix your calculator is not going to be a difficult task. Regards.