EvanRespaut / Equate

Unit converting calculator
GNU General Public License v3.0
67 stars 17 forks source link

Chain Math - BROKEN #39

Closed Bug725 closed 5 years ago

Bug725 commented 5 years ago

Example : 16.99+13.99*2=44.97!?! 🤔 should be 61.96! The more I chain the worse it is, often breaking (error). This has been an issue for awhile, how long IDK. This is my favorite & only calculator I use. Please help! I can't recommend Equate anymore!

EvanRespaut commented 5 years ago

16.99+13.992 should be 44.97. Order of operations says the 13.992 is done first and then 16.99 is added. If you wanted to add 16.99 and 13.99 and then multiply by 2, you need parenthesis: (16.99+13.99)*2=61.96

ildar commented 5 years ago

Indeed. Lol )))