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

            Bug ID: 90498
           Summary: getDouble wrong value
           Product: LibreOffice
           Version: 4.4.1.2 rc
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Using Mysql Connector (native) EXTENSION when i want to get by macro a decimal
number using getDouble i get only integer number.

Example:
Dim price as double
Sub ReportInvoice(oEv)
oModel = oEv.Source.getModel
oForm = oModel.getParent
oConn = oForm.ActiveConnection

R_data = "SELECT ""Imponibile"" FROM ""Fattura"" "
oStmt = oConn.createStatement()
oRs = oStmt.executeQuery(R_data)

If oRs.Next Then
price = oRs.getDouble(oRs.findColumn("Imponibile"))
end if

end sub

result of price is 1.00 rather than 1.81

If i connect to Mysql via JDBC or ODBC is all OK but for me
MysqlConnector(native) extension is more fast than JDBC or ODBC

I got this problem with MysqlConnector with both version 1.0.1 and last 1.0.4_3
using them also with libreoffice 4.2.6

My Operating System is Linux Mint 17 Kde

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

Reply via email to