Bug 141870

Summary: Fractional formatting: Sequence of preferred denominators (Base 2 mainly); also Writer TextFields
Product: LibreOffice Reporter: Wolfgang Jäger <jag>
Component: CalcAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: enhancement CC: jag, jumbo4444
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=100593
https://bugs.documentfoundation.org/show_bug.cgi?id=124807
Whiteboard: QA:needsComment
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107575    

Description Wolfgang Jäger 2021-04-24 10:21:25 UTC
Fractional formatting sometimes is expected to be restricted to a sequence of preferred denominators. The most frequent such sequence should be 2,4, 8, 16, 32 - or more generally the powers of 2.  

If it can be done without breaking the concept, a code for fractional formatting like # ?/[2^5] (5 denoting the maximum exponent; if omitted 14 e.g.) or (to give a funny example) ?/[3;7;11] should be established.  
Implementation should choose the smallest denominator usable without loss of accuracy.  

For export to an alien file format the sequence can be replaced then by the highest (realistic) deniminator matching it, or to the respective number of decimal digits in the denominator.