Skip to content
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

小数点后面精度错误 #36

Open
womom opened this issue Dec 12, 2022 · 3 comments
Open

小数点后面精度错误 #36

womom opened this issue Dec 12, 2022 · 3 comments

Comments

@womom
Copy link

womom commented Dec 12, 2022

程序是在docker上运行,记账的时候输入金额是15.98。
记录完成后刷新网页右上角有错误提示:Transaction does not balance: (-0.01 CNY)
点击查看后金额变成了15.99。
这个经常出现,每次出现后我都必须手动修改原文件才行

2022-12.bean:144: Transaction does not balance: (-0.02 CNY)

2022-12-12 * "xxxxxxx" "xxxxxxxxxx "
Expenses:Life:Shopping:购物 1598.00 CNY
Assets:Flow:EBank:AliPay:支付宝 -1598.02 CNY

2022-12.bean:148: Transaction does not balance: (-0.01 CNY)

2022-12-12 * "xxxxxxx" "xxxxxxxxx"
Expenses:Life:Shopping:购物 15.98 CNY
Assets:Flow:EBank:AliPay:支付宝 -15.99 CNY

@BaoXuebin
Copy link
Owner

能提供下您当前使用的版本吗?(页面最下方可见)

@womom
Copy link
Author

womom commented Dec 14, 2022

v1.1.10 版本, 这个有时候不好复现。有时候隔几天出现一两次,我习惯是第一个账目输入的消费类型和金额,第二个账目输入支出账号。这个先后顺序是否有关?

@BaoXuebin
Copy link
Owner

这个不好定位问题,应该和顺序没有关系;你可以空着第二个账目金额,提交之后程序会自动填充

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants