Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0000986Openbravo ERPZ. Otherspublic2007-03-09 15:532009-11-09 15:02
galderromo 
cromero 
normalminoralways
closedfixed 
5
 
 
Core
No
0000986: The calculator has some failures
Depending on the operation you realise some operation the calculator crashes.

For example:
150 + 150 + 150.16 = 450.99999997

But:
150 + 150 + 150.15 = 150.15

Can you help me?
No tags attached.
Issue History
2009-11-09 15:02jpabloaeCategoryD. Documentation => Z. Others

Notes
(0004575)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1677322 [^]
(0000808)
psarobe   
2007-03-13 17:04   
(edited on: 2008-06-12 09:17)
Logged In: YES
user_id=1500703
Originator: NO

I think Galder wanted to say 150+150+150.16= 450.1599999996

and 150 + 150 + 150.15 = 450.15

because this is what really happens
(0000809)
cromero   
2007-06-27 10:57   
(edited on: 2008-06-12 09:17)
Logged In: YES
user_id=1500614
Originator: NO

Openbravo uses the Tigra Calculator javascript. We have found this problem time ago and we posted them waiting for a solution (we posted them on 6/15/2006 with subject "Overflow problem with decimals"). We have not obtained any reply.
This problem occurs btoh in free and professional version, so we think that Tigra can't fix it.
Thank you.
Carlos Romero
Openbravo Team