alexkdeveloper / calculator

String calculator for Linux
GNU General Public License v3.0
4 stars 2 forks source link

Basic sum (28) got "1.0" as result #3

Closed MarArMar closed 4 months ago

MarArMar commented 4 months ago

"1 + 1 + 1 + 1 + 1 + 1 + 1 + 2 + 2 + 1 + 0 + 0 + 1 + 1 + 1 + 2 + 3 + 3 + 2 + 2 + 1 = 1.0"

Result is supposed to be 28

image

MarArMar commented 4 months ago

I also posted an issue at "StringCalculator" lib

https://github.com/idozahavy/StringCalculator/issues/1

alexkdeveloper commented 4 months ago

The arithmetic expression must be entered without spaces. Then everything is calculated normally: Снимок экрана от 2024-04-29 11-00-13

alexkdeveloper commented 4 months ago

In the next release of the application, the spaces will be removed automatically. The corresponding changes have already been added to the repository.

alexkdeveloper commented 4 months ago

The new version of the program will be available in a few hours.

MarArMar commented 4 months ago

So great, thank you very much

MarArMar commented 4 months ago

Perfect, I just tested it, it works ! 🎉

thanks again for this very practical app !