[Libreoffice-bugs] [Bug 123591] base(firebird): Incorrect Posting of Numeric Data

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jul 10 10:45:12 UTC 2019


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

--- Comment #16 from Xisco FaulĂ­ <xiscofauli at libreoffice.org> ---
I've investigated this issue a bit, the problem is the Numeric fields use 1
decimal place, so in setDouble <
https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/firebird/PreparedStatement.cxx?r=70519a43#416
> we pass the values as they come from Calc without considering the decimal
places.
Later on, makeNumericString <
https://opengrok.libreoffice.org/xref/core/connectivity/source/drivers/firebird/ResultSet.cxx?r=31f04378#373
> takes the decimal places into account, thus 1 digit is removed...

-- 
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/20190710/a59221fa/attachment-0001.html>


More information about the Libreoffice-bugs mailing list