[Libreoffice-bugs] [Bug 112023] Copying data from Base truncates precision to the shown format

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Aug 28 16:57:07 UTC 2017


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

--- Comment #5 from Lars Jødal <lajo at rn.dk> ---
(In reply to robert from comment #4)
> (In reply to Alex Thurgood from comment #1)
> > In the test file provided the field MyDouble is defined without any decimal
> > places, and the values entered show up as 1.23 and 3.14 - is this what you
> > intended ?
> 
> Double could be 15 digits. There must not be defined any decimal-places. The
> field will save something like
> 1.2345678901234
> and also
> 123456789.12345
> 
> The problem described by  Lars Jødal is: The database will save all this
> (you could see this in the table-GUI when setting, for example, "MyDouble"
> to show 4 decimal-places), but data will only be copied with the precision
> you define in table-GUI, not which is defined for the database. 

Yes, this was my point. (So yes, it was intended to define the format to show
less precision that is contained in the data.)

> Note: the decimal-places won't be shown when copying the data through
> clipboard by Ctrl+C, but it will appear wen copying data by drag and drop
> into Calc. The same with the timestamp.

Fine, drag-and-drop is one way to copy with full precision. But it may not be
obvious to the user that Ctrl+C can be lossy (it took me some time to realize
it).

Is the issue clear enough to change status from "NEEDINFO"?

If yes, what does people think of my suggestions to remedy the issue?

Best regards
Lars

-- 
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/20170828/dce780b4/attachment.html>


More information about the Libreoffice-bugs mailing list