Here is an example macro that shows the issue:

Sub Main
        tot5= cdbl("5.5")
        msgbox (tot5)
        tot6= cdbl("5,5")
        msgbox (tot6)
End Sub

You can find the same macro in the attached document.

If you run it, the dialog boxes will show "55" and "5" (or "5" and "55"
depending on the locale). They should display "55" and "5.5".

** Attachment added: "an example doc with a macro that shows the bug."
   
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/806403/+attachment/2228013/+files/macro-cdbl-error.ods

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/806403

Title:
  Libreoffice basic function "cdbl" ignores decimal numbers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/806403/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to