[Libreoffice-bugs] [Bug 134469] New: Textimport gives wrong number if not at least 4 digits are given with a decimal

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 3 08:39:45 UTC 2020


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

            Bug ID: 134469
           Summary: Textimport gives wrong number if not at least 4 digits
                    are given with a decimal
           Product: LibreOffice
           Version: 6.4.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: michael.meisinger.mm at gmail.com

Description:
Hi All,

if I paste the following CSV data (the same happens if I open it from a file)

Tick#,offsetTime,IMU_ATTI(0):Longitude,IMU_ATTI(0):Latitude,IMU_ATTI(0):numSats,IMU_ATTI(0):barometer:Raw,IMU_ATTI(0):barometer:Smooth
49775263,-117.614,,,15,353.11334,353.121

The last number '353.121' gets imported as a decimal number without decimal
point.
If I add a '0' at the end, '353.1210', everything is fine.



Steps to Reproduce:
Paste the following to Calc

Tick#,offsetTime,IMU_ATTI(0):Longitude,IMU_ATTI(0):Latitude,IMU_ATTI(0):numSats,IMU_ATTI(0):barometer:Raw,IMU_ATTI(0):barometer:Smooth
49775263,-117.614,,,15,353.11334,353.121


Actual Results:
49775263        -117614                 15      353.11334       353121


Expected Results:
49775263        -117614                 15      353.11334       353.121



Reproducible: Always


User Profile Reset: No



Additional Info:
see upper description

Let me know if you need additional info.
Thanx a lot

-- 
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/20200703/b88d7cc2/attachment.htm>


More information about the Libreoffice-bugs mailing list