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

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

Reply via email to