[Libreoffice-bugs] [Bug 141200] Basic MOD operator must have a mention that it rounds its operands

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Apr 1 15:39:22 UTC 2021


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

--- Comment #3 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Rafael Lima from comment #2)

This difference is the result of bug 141201.
If you change your samples to work not with literals, but with variables, like

> a = 15.1
> MsgBox a Mod 5

you will get results consistent with VBA's.
So the help should just reflect the correct intended result (rounding of both
operands before Mod), and bug 141201 should resolve the inconsistency.

-- 
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/20210401/7308681a/attachment.htm>


More information about the Libreoffice-bugs mailing list