Openbravo Issue Tracking System - Java Client POS
View Issue Details
0006812Java Client POS(No Category)public2009-01-09 00:252009-01-20 17:07
glennv 
 
normalminoralways
closedduplicate 
20rPath Linux
 
 
0006812: restaurant module product price incorrect price total calculation due to floating point inaccuracy
In the restaurant module, when you create a new product, and mark it as taxable goods, the pre-tax price is only calculated and displayed with 2 decimal place precision.

This leads to inaccuracies with price calculation and totals.



Example:

Create new product with:
Tax rate: 10%
Tax included price: $40.00
Tax excluded price: $36.36

In the restaurant, add two of these items.
The total will be $79.99, not $80.00
This ex-tax price should be stored and displayed as a float with 4 , not currency.
No tags attached.
duplicate of defect 00038382.30 closed adrianromero Total amount does not match with line amounts with tax 
Issue History
2009-01-09 00:25glennvNew Issue
2009-01-09 00:25glennvsf_bug_id0 => 2494722
2009-01-20 17:07adrianromeroRelationship addedduplicate of 0003838
2009-01-20 17:07adrianromeroStatusnew => closed
2009-01-20 17:07adrianromeroDuplicate ID0 => 3838
2009-01-20 17:07adrianromeroResolutionopen => duplicate
2012-11-07 09:40priyamCategory01 - General => (No Category)

There are no notes attached to this issue.