Issue 1168 - Wrong calculation within tables
Summary: Wrong calculation within tables
Status: CLOSED DUPLICATE of issue 870
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 632
Hardware: PC Linux, all
: P1 (highest) Trivial (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-04 12:47 UTC by issues@www
Modified: 2003-12-06 14:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Open this file with OpenOffice and try to get a correct product in the last column (10.61 KB, application/octet-stream)
2003-12-06 14:52 UTC, issues@www
no flags Details
The calculation in this file is incorrect (10.61 KB, application/octet-stream)
2003-12-06 14:52 UTC, issues@www
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description issues@www 2001-07-04 12:47:18 UTC
I will attach a .sxw file with a table. Within this table, there is are 3
columns with numbers in it, with the last being the product of the first two.
But as you can see, 1 times 3,60 gives 36,00, i.e. 10 times the correct value.
You can change the colums and the effect stays there.
Comment 1 issues@www 2001-07-04 12:48:07 UTC
Created attachment 341 [details]
Open this file with OpenOffice and try to get a correct product in the last column
Comment 2 stefan.baltzer 2001-07-04 16:44:02 UTC
Reassigned to Eric.
Comment 3 eric.savary 2001-07-09 13:13:22 UTC
Please attach your sample again. Your file was 0kb big.
Comment 4 issues@www 2001-07-09 13:27:51 UTC
Created attachment 360 [details]
The calculation in this file is incorrect
Comment 5 issues@www 2001-07-09 13:29:27 UTC
I uploaded it again, but I could download both of them without any problem.
(Netscape 4.77)

Kurt
Comment 6 eric.savary 2001-07-09 14:35:36 UTC
Ok, I recieved the file now.
Comment 7 eric.savary 2001-07-09 14:37:32 UTC
Daniel: loading the file in the 632 causes the described behaviour. In the 637, 
same behaviour until you click somewhere in the table. Some kind of strange 
format actualization.
Comment 8 openoffice 2001-07-09 18:08:57 UTC
The behavior in 637 is OK. The cell gets updated when the cursor is inside the 
cell, and then the proper vale is calculated.

The problem that caused the wrong value to be calculated in the original 
document was already reported in issue #i870#. Under certain circumstances the 
decimal seperators weren't recognized. Note that the comma "," seperates the 
integer part from the fractional part of the number (in the German locale), 
while the point "." seperates thousands (and gets ignored during parsing, 
because it doesn't add value). In the 632 version a bug causes these to be 
mixed up, so the value "3,6" was seen as "3.6" which the same as "36" with 
funny formatting. Hence, a wrong result was computed.

dvo->es: Please close if you can confirm.
Comment 9 openoffice 2001-07-09 18:09:30 UTC
dvo->Kurt Huwig: I mark the issue as duplicate. The problem should be gone in 
any version labeled 634 or greater. I'm sorry for any problems this may have 
caused

*** This issue has been marked as a duplicate of 870 ***
Comment 10 eric.savary 2003-02-17 16:15:23 UTC
closed