Bug 135391 - Sum function not working correctly with dollar format
Summary: Sum function not working correctly with dollar format
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Function-Sum
  Show dependency treegraph
Reported: 2020-08-02 17:45 UTC by russell.snyder1
Modified: 2021-03-13 04:09 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description russell.snyder1 2020-08-02 17:45:42 UTC
Build ID: 1:6.1.5-3+deb10u6
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: group threaded

removes some cents from my sum

Steps to Reproduce:
1.create calc spreadsheet with dollars and cents
2.use sum function
3.doesn't add up

Actual Results:
cuts out 4 cents from my sum

Expected Results:
expected 4 more cents

Reproducible: Always

User Profile Reset: No

Additional Info:
adding with a calculator gives 4 more cents
Comment 1 russell.snyder1 2020-08-02 17:56:14 UTC
It looks like it might be using a floating point value in the background for calculations and showing a rounded up currency value in the column. That might be why it adds up differently.
Comment 2 Xisco Faulí 2020-08-03 15:19:18 UTC
Thank you for reporting the bug.
it seems you're using an old version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 3 Roman Kuznetsov 2020-08-13 20:06:51 UTC
no problem in

Version: (x64)
Build ID: <buildversion>
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
Comment 4 QA Administrators 2021-02-10 04:12:07 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2021-03-13 04:09:40 UTC
Dear russell.snyder1,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team