[Libreoffice-bugs] [Bug 141200] New: Basic MOD operator must have a mention that it rounds its operands
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Mar 23 14:51:48 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=141200
Bug ID: 141200
Summary: Basic MOD operator must have a mention that it rounds
its operands
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Documentation
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: mikekaganski at hotmail.com
CC: olivier.hallot at libreoffice.org
In LibreOffice Basic, MOD rounds its operands [1]. This matches MS VBA behavior
[2].
But our help [3] does not mention that; and its samples imply that
floating-point values are handled as one could expect.
The rounding needs to be mentioned; and the samples should be corrected.
[1]
https://opengrok.libreoffice.org/xref/core/basic/source/sbx/sbxvalue.cxx?r=fbaf865f#837
[2]
https://docs.microsoft.com/en-us/office/vba/Language/Reference/User-Interface-Help/mod-operator
[3] https://help.libreoffice.org/latest/en-US/text/sbasic/shared/03070600.html
--
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/20210323/4370fc9a/attachment.htm>
More information about the Libreoffice-bugs
mailing list