SUMMARY to add an option to convert the decimal result in fractional result so to get the fractional result of the division. STEPS TO REPRODUCE 1. open the Kcalc 2. make a division 3. OBSERVED RESULT fractional result option missed EXPECTED RESULT fractional result option present SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: KDe Neon 5.16 (available in About System) KDE Plasma Version: 5.16.1 KDE Frameworks Version: 5.59.0 Qt Version: 5.12.3 ADDITIONAL INFORMATION
Would require a major rewrite. Neither the display, nor the internal number class supports fractions. Additionally, what should be displayed, if you divide pi by 12, and you want a fractional result? There are ways to create approximate fractions (e.g. using "continued fractions"), but that would give a false impression that your result is actually representable by a fraction.
(In reply to Christoph Feck from comment #1) > Would require a major rewrite. Neither the display, nor the internal number > class supports fractions. Additionally, what should be displayed, if you > divide pi by 12, and you want a fractional result? There are ways to create > approximate fractions (e.g. using "continued fractions"), but that would > give a false impression that your result is actually representable by a > fraction. the operation is useful for example to compare the different movies format aspect ratio which has normally issued as decimal number. So to get the real aspect ratio adopted.
This can be marked as duplicate of 144741, I would expect it to be implemented if we ever get natural display. *** This bug has been marked as a duplicate of bug 144741 ***