Darkempire78 / OpenCalc

A simple and beautiful calculator for Android
GNU General Public License v3.0
737 stars 82 forks source link

Everything after ').' in a calculation is ignored #340

Closed mwadle closed 6 months ago

mwadle commented 6 months ago

Describe the bug Whenever a closed parenthesis is followed by a decimal, any text after the decimal is ignored

To Reproduce Steps to reproduce the behavior:

  1. Enter open parenthesis, then the number five, then close parenthesis "(5)"
  2. Enter a decimal "(5)."
  3. Observe how anything you enter after the decimal is ignored when calculating the result "(5).1234+64x9" equals 5

Expected behavior The entire entered expression is included when calculating the result

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

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.