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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to