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

            Bug ID: 92016
           Summary: Return value from Function
           Product: LibreOffice
           Version: 5.0.0.0.beta1
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: toko...@gmail.com

Copy this code in IDE Editor

Option Explicit

Function Pulgada() As Single
    Pulgada = 25.4
End Function

If use this function in a WorkSheet return the value 25.3999996185.

If change the word Single for Double, return the value 25.4.

I know the variable type DOUBLE is more precise than the type SINGLE, but this
only using a decimal position.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to