Calculator - Feedback & Query

Hello!

Just finished the calculator project: https://codesandbox.io/s/calculator-fcc-2o4lo?file=/src/App.js

Any feedback is appreciated.

I also noticed that there is a floating point error in some calculations. For example, when I run 4.1-4, I get 0.09999999999999964 instead of 0.1. What is causing this and how can I avoid it?

Your code seems well laid out and pretty readable. I’m working on a react quote machine. I might take inspiration from this when I get to the calculator.

Thank you! Glad to hear it. :smile: