I understand the maths and the constraints of javascript - was doing a presentation to our management group of several ecommerce options for umbraco and the accountant asked what was the problem. Hence this post.
The server side price is of course the right prices with all the decimals. The only reason why the prices for the UI is rounded up/down is because how would you pay 76,032$ in real life moneys? :)
Tea Commerce Demo Site - rounding errors in Cart
Should this add up or are your auditors and accountants more generous than mine...
Hi John
What unit price have you entered in Umbraco for your product? Can you send a screenshot from Umbraco?
Kind regards
Anders
Thanks Anders
The price was $34.56. The tax rate is 10%
I understand the maths and the constraints of javascript - was doing a presentation to our management group of several ecommerce options for umbraco and the accountant asked what was the problem. Hence this post.
The server side price is of course the right prices with all the decimals. The only reason why the prices for the UI is rounded up/down is because how would you pay 76,032$ in real life moneys? :)
Kind regards
Anders
is working on a reply...