[Libreoffice-bugs] [Bug 96821] ROUND changes integers when it should not

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Dec 25 10:21:34 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=96821

--- Comment #9 from Winfried Donkers <winfrieddonkers at libreoffice.org> ---
Changing A1 from =ROUND(B1,0) to =ROUND(B1,1) produces correct result (1001).
Also using either ROUNDUP(B1,0) or ROUNDDOWN(B1,0) produces a result of 1004 in
A3.
All these rounding-functions use the same (rtl::math::)round() function
internally.

I will look further into the code to see what exactly is happening and if it
can be remedied.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171225/a3c5dbb6/attachment.html>


More information about the Libreoffice-bugs mailing list