sadellie / unitto

😎 Superior Calculator and Converter for Android
https://sadellie.github.io/unitto
GNU General Public License v3.0
397 stars 35 forks source link

Invalid negative number as a result #152

Closed leopoldhub closed 8 months ago

leopoldhub commented 9 months ago

When I get a negative number as a result (e.g. -2-4 = -6) and do a substraction on the result (e.g. result-2 => -6-2) I should get -8 but get -4 (as if the result was 6 and not -6) (see screen 1). When I clear and rewrite -6-2, I get the correct answer -8 (see screen 2).

screen 1 the bug

screen 2 the expectation