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

Amount parsing error in division #379

hsoft opened this Issue Dec 3, 2013 · 0 comments


None yet
1 participant

hsoft commented Dec 3, 2013

From forums

Sales tax in my state went up by 1/2 of a percent to 5.5%>
To keep track of sales tax I would typically enter the total value in the register and then open the transaction editor to modify that amount by using the inline math feature. This worked fine for 5%, but there’s an error when using 5.5%.

For example

$100 / 1.05 = $95.24, actual cost of good
$4.76 appears to balance the split and this is assigned to Sales Tax


$100 / 1.055 = 0.4, and that is not right

Inline multiplication seems to work fine.

That's because "1.055" is mistakenly parsed as "1055": it takes the dot for a thousand separator.

@hsoft hsoft closed this in 89c7d61 Jan 24, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment