Merge lp:~rpadovani/ubuntu-calculator-app/tempResultOnlyInParenthesis into lp:ubuntu-calculator-app
Proposed by
Riccardo Padovani
Status: | Merged |
---|---|
Approved by: | Bartosz Kosiorek |
Approved revision: | 249 |
Merged at revision: | 249 |
Proposed branch: | lp:~rpadovani/ubuntu-calculator-app/tempResultOnlyInParenthesis |
Merge into: | lp:ubuntu-calculator-app |
Diff against target: |
12 lines (+1/-1) 1 file modified
app/ubuntu-calculator-app.qml (+1/-1) |
To merge this branch: | bzr merge lp:~rpadovani/ubuntu-calculator-app/tempResultOnlyInParenthesis |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Bartosz Kosiorek | Approve | ||
Jenkins Bot | continuous-integration | Approve | |
Review via email: mp+279473@code.launchpad.net |
Commit message
Remove * from operators with priority
Description of the change
We try to help users calculating temporary results. Unfortunately at the moment the feature is confusing, 'cause we calculate the temporary result just after a * operator.
So if the users write
3*3^3
we print
9^3
Then user presses = and we print 27 (that is right) but is confusing because 9^3 = 81.
So we can calculate temporary result only in the parenthesis, cause nothing has priorty > than parenthesis
To post a comment you must log in.
PASSED: Continuous integration, rev:249 /core-apps- jenkins. ubuntu. com/job/ calculator- app-ci/ 37/ /core-apps- jenkins. ubuntu. com/job/ generic- update- mp/218/ console
https:/
Executed test runs:
None: https:/
Click here to trigger a rebuild: /core-apps- jenkins. ubuntu. com/job/ calculator- app-ci/ 37/rebuild
https:/