Bug 86024 - FORMATTING: Erroneous formatting of certain numbers
Summary: FORMATTING: Erroneous formatting of certain numbers
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Spreadsheet (show other bugs)
Version: 4.2.6.3 release
Hardware: x86 (IA32) All
: high normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-07 21:58 UTC by Alexander Lars Robinson
Modified: 2014-11-11 11:18 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Sample file showing the bug. (11.81 KB, application/vnd.oasis.opendocument.text)
2014-11-08 11:18 UTC, m.a.riosv
Details
Broken formattting (108.49 KB, image/png)
2014-11-11 11:16 UTC, Klaus Halfmann
Details

Description Alexander Lars Robinson 2014-11-07 21:58:27 UTC
In a cell with default (automatic) formatting, using a column width of 0.90" and Calibri size-12 font, the number 5385137647.06696 is displaying as 37647, regardless of whether the cell produces the value from function or has the value written to it directly.

The actual value is not lost, and manually choosing scientific notation corrects the display problem.  Changing the cell width a sufficient amount in either direction also corrects the problem, triggering automatic scientific notation for the correct value when narrower, and the full length value when wider.

Creating a new spreadsheet, adjusting the font of any cell to the above specifications, and placing 5385137647.06696 in that cell reproduces the effect (the default column width of 0.89" is within the necessary range).
Comment 1 m.a.riosv 2014-11-08 11:18:48 UTC
Created attachment 109130 [details]
Sample file showing the bug.

Hi @Alexander, thanks for reporting.

Reproducible.

Win7x64Ult.
Version: 4.2.7.2
Build ID: 933c0aa564ec4f8883ed5732c866db48dca4dac5
+
Version: 4.4.0.0.alpha1+
Build ID: 8b21b5cbe78945b27525b4ce78ae3d981f90590f
TinderBox: Win-x86@39, Branch:master, Time: 2014-11-06_03:55:51
Comment 2 A (Andy) 2014-11-08 12:21:16 UTC
Also reproducible with LO 4.3.3.2, Win 8.1.
Comment 3 Klaus Halfmann 2014-11-11 11:15:04 UTC
I found the same on OSX 10.10 in LibreOffice  4.2.6.3
Build-ID: 3fd416d4c6db7d3204c17ce57a1d70f6e531ee21

Ill try to add another Attachement.
Comment 4 Klaus Halfmann 2014-11-11 11:16:28 UTC
Created attachment 109265 [details]
Broken formattting
Comment 5 Klaus Halfmann 2014-11-11 11:18:07 UTC
Prio high as this may lead to completly wrong numbers


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.