[Libreoffice-bugs] [Bug 116451] New: XML Form Document: Adding two values of decimal-fields gives wrong decimalseparator

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 17 15:50:28 UTC 2018


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

            Bug ID: 116451
           Summary: XML Form Document: Adding two values of decimal-fields
                    gives wrong decimalseparator
           Product: LibreOffice
           Version: 6.0.0.2 rc
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: robert at familiegrosskopf.de

Created attachment 140674
  --> https://bugs.documentfoundation.org/attachment.cgi?id=140674&action=edit
Open the document, input some values to first and second field as described.

Open the attached document.
All fields of the XML-form are declared as "Decimal". "SumFirstSecond" is
defined as the sum of the first and the second field.
Put some new value to "FirstField" or "SecondField" like 6 or 7 or 8 ... Shows
the right sum in the field "SumFirstSecond".
Now add some values with decimal-places.
Gives wrong values and declares the sum isn't a decimal-value.

You could get a workaround with declaring the sum as a string and the right sum
will be shown - but will be saved with decimal-separator "," instead of "."

I have tried to change the language from German to English but haven't
recognized it will make any difference.

You could also see the value when clicking on Instance 1 > instanceData >
SumFirstSecond. The wrong decimalseparator could be seen there. If you try to
edit the element you could choose "Calculate" as the last condition. If you
open the editor for this condition you could see the value is right calculated
- with decimal-separator "."

-- 
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/20180317/58af65e3/attachment-0001.html>


More information about the Libreoffice-bugs mailing list