Show 3 significant figures when displaying doubles
ClosedPublic

Authored by astippich on May 30 2019, 11:16 AM.

Details

Summary

Show 3 significant digits for double values when
displaying them with e.g. baloo-widgets
Also fixes localization
CCBUG: 343273

Diff Detail

Repository
R286 KFileMetaData
Branch
double_pretty
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 12271
Build 12289: arc lint + arc unit
astippich created this revision.May 30 2019, 11:16 AM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptMay 30 2019, 11:16 AM
Restricted Application added subscribers: Baloo, kde-frameworks-devel. · View Herald Transcript
astippich requested review of this revision.May 30 2019, 11:16 AM

Before


After

Note that only 2 digits are displayed in this case since the it is 0.00270

astippich edited the summary of this revision. (Show Details)May 30 2019, 11:18 AM
bruns accepted this revision.May 30 2019, 11:35 AM
This revision is now accepted and ready to land.May 30 2019, 11:35 AM
This revision was automatically updated to reflect the committed changes.