Bug 88657 - entered fractions misinterpreted; format '# ??/???' is not retained after saving.
Summary: entered fractions misinterpreted; format '# ??/???' is not retained after sav...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Spreadsheet (show other bugs)
Version: 4.2.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-21 09:53 UTC by Thomas Käfer
Modified: 2015-01-22 21:07 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Sample file (15.00 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-01-22 00:41 UTC, m.a.riosv
Details

Description Thomas Käfer 2015-01-21 09:53:45 UTC
entering the fraction
73/200 (which is 0.365) by entering
"0 73/200" displays 3/8 afterwards, which is 0.375

Is this some kind of rounding problem? can this be turned off?
Or is this a bug in the code that "automatically reduces" fractions?
https://help.libreoffice.org/Calc/Entering_Fractions


I'm Running Linux Mint 17.1 with LibreOffice:
Version: 4.2.7.2
Build ID: 420m0(Build:2)
Comment 1 raal 2015-01-21 12:36:20 UTC
Hello,
use your own format # ??/???

See the last paragraph in the help.

When I use  format of cell # ??/???, calc display 73/200 and value is 0,365
I'm closing this as notabug, set to unconfirmed again if you still observe the bug.
Comment 2 GerardF 2015-01-21 15:33:47 UTC
Reopen because 3 or more digits (???) for divisor is not retained after saving.

Cell formatted # ??/??? as suggested. Works untill spreadsheet is closed.
Closed and reopened: cells show default # ??/?? format.
Comment 3 raal 2015-01-21 19:32:42 UTC
I can confirm with Version: 4.5.0.0.alpha0+
Build ID: 88562ee6e352b5446bb55e906e8f1c2f34035a49
TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-01-16_23:58:11
Comment 4 m.a.riosv 2015-01-22 00:41:46 UTC
Created attachment 112629 [details]
Sample file

Attached file open for me with three places for divisor, several versions.
Last Win7x64
Version: 4.5.0.0.alpha0+
Build ID: b3b4bbaf6cbd2226b659fea7d6ae473ccf84e9dd
TinderBox: Win-x86@39, Branch:master, Time: 2015-01-12_06:13:44
Comment 5 raal 2015-01-22 08:54:27 UTC
(In reply to m.a.riosv from comment #4)
> Created attachment 112629 [details]
> Sample file
> 
> Attached file open for me with three places for divisor, several versions.
> Last Win7x64
> Version: 4.5.0.0.alpha0+
> Build ID: b3b4bbaf6cbd2226b659fea7d6ae473ccf84e9dd
> TinderBox: Win-x86@39, Branch:master, Time: 2015-01-12_06:13:44

# ???/??? works
# ??/???  doesn't work

Could you test?
Comment 6 m.a.riosv 2015-01-22 21:07:03 UTC
Yes as you comment.

I don't know maybe is mandatory both sides having the same lenght.


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.