5fOleL5Eo2So8qi
5fOleL5Eo2So8qi on Hacker News
Re:2-in-1 calculator app adds up to surprise hit for retired engineer
on Monday September 19, 2022 @05:01PM (#32903899)
Their stated issue is that pressing enter after the 'subtotal' is not clear because it shows as `1 + 2 / 2` in the history instead of `(1 + 2) / 2`.
Re:2-in-1 calculator app adds up to surprise hit for retired engineer
on Monday September 19, 2022 @04:59PM (#32903881)
The hard part of writing a calculator app is not parsing `0.1` versus `.1`. That's trivial. The hard part of writing a calculator app is getting precise answers instead of floating-point answers, and given that he thinks the hard part is parsing `.1`, it probably gets it wrong.