-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(core): make the % works correctly #29
base: master
Are you sure you want to change the base?
Conversation
Just like KCalc and GNOME Calculator. Closes linuxdeepin#12
5000 - 30% 等价于 5000 - (5000 * 0.3) 仅限于 BTW: 由于使用的是 SpeedCrunch 开启了 |
cc @hualet |
2个问题:1.我们当前版本只支持标准模式,标准模式的处理由于之前的需求,直接出结果,逻辑一般的计算器不同,例如5000-30%,直接会显示为5000-0.3,不会合起来计算为5000-(5000×0.3)。如果要修改,可能得提新的需求。2.这一笔代码合入后,计算5000-(30%)的值与5000-30%的值相同,和一些计算器有出入,需要考虑,故当前版本不予合入 |
After our internal analysis, this modification will cause the existing calculation logic of the calculator to change and does not conform to the calculation logic, so this PR cannot be incorporated. |
TAG Bot New tag: 6.0.1 |
TAG Bot New tag: 6.0.2 |
TAG Bot New tag: 6.5.0 |
TAG Bot New tag: 6.5.1 |
TAG Bot New tag: 6.5.2 |
TAG Bot New tag: 6.5.3 |
TAG Bot New tag: 6.5.4 |
TAG Bot New tag: 6.5.5 |
TAG Bot New tag: 6.5.6 |
TAG Bot New tag: 6.5.7 |
Just like KCalc and GNOME Calculator.
Closes #12