Apache OpenOffice (AOO) Bugzilla – Issue 114517
Wrong results in multiplication 0 with negative number
Last modified: 2017-05-20 11:33:45 UTC
Open empty spreadsheet in OOO330m7, insert into B2 cell =SUM(B3:B123)*-1 the results will be -0, which is wrong. If you make it in vanilla OOo 3.2.1 it will show correct result. If you open in go-oo source 3.2.1 will show -0, in go-oo 3.2.0 show correct result. It seems to me it is a regression.
confirmed
.
go_oo specific. Please have a look.
Not a bug in vanilla OOo.
Has to be handled in go-oo.
No It is a vanilla bug, but first showed in go-oo in 3.2.1, and after OOO330m3 this is the oldest which I tested reincarnated in vanilla build. This issue is true in DEV300m87, at least on win version.
OK, I see it too in DEV300m87 on WinXP. I had tested DEV300m86 and there was no bug. The error remains, if the area is not empty but filled with zero.
Testing OOO330_m7 on Fedora Linux 13, en_US Any of these show as "-0": =SUM(A3:A123)*-1 =-1*0 =-0 plain number, entered as “-0” All show as "0" in 3.2.1. Only for default format (Number/General); specific number format, including "General", shows as "0". Compares as equal to "0".
@kohei: I suspect this was introduced with the dynamic decimals, it occurs with the 'General' format, but not with, for example, '0'.
Reset assigne to the default "issues@openoffice.apache.org".