alexkdeveloper / calculator

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

Calculus with wrong result : should be 3525, is 0 #5

Closed MarArMar closed 3 months ago

MarArMar commented 4 months ago

"((48*83) +(73*42)) / 2" got "0" as a result

image

alexkdeveloper commented 4 months ago

Internal brackets are not needed. If you enter without them, then everything is calculated correctly.

Although I agree that there is a problem, but most likely it lies in the library code. It is better to contact the library developer with such questions. Снимок экрана от 2024-05-14 14-36-26

MarArMar commented 4 months ago

Ok I posted the issue to the lib dev 👍

alexkdeveloper commented 4 months ago

Hi.

A new version of the StringCalculator library has been released. But the developer did not publish the source code archive I needed in the Python package index.

I need it to create an application with a new version.

I have opened the corresponding task in the repository, but have not received a response yet.

MarArMar commented 4 months ago

Cool, thanks for the update 😊

Yeah I think they fixed it they mentioned the issue in a commit

alexkdeveloper commented 4 months ago

I haven't updated anything yet, as the archive with the new version of the library is still unavailable: https://pypi.org/project/StringCalculator/0.0.5/#files The application is still using version 0.0.4.

MarArMar commented 4 months ago

Yes but I meant you "updated" this issue with the news/current state of affairs, and thanks for that 😉

alexkdeveloper commented 3 months ago

Hi!

Quite a long time has passed, and the archives for the new version of the library are still unavailable.

https://pypi.org/project/StringCalculator/0.0.5/#files

If the developer does not add archives to the Python package index in the near future, then I can try to include this library in my application. That is, the manifest will no longer refer to a specific version of the library. All this will be included in the application itself.

alexkdeveloper commented 3 months ago

I still hope that the developer will add the source code archives to the Python package index in the near future.