PresearchOfficial/presearch-packages

Floating decimal point issue

Closed this issue · 1 comments

Describe the bug
A clear and concise description of what the bug is.

Some float operations do not result in the correct expected response.

To Reproduce
Steps to reproduce the behavior:

  1. https://engine.presearch.org/search?q=316.7-133.4

Expected behavior
A clear and concise description of what you expected to happen.

Expected output is 183.3; returned output is 183.29999999999998

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Brave
  • Version: 1.30.87

Additional context
Add any other context about the problem here.

Thanks @TwelfthGhast and sorry for the late response 🙏 .
This issue has been fixed and it will be pushed to production soon.

Appreciate your support