Show 3 significant figures when displaying doubles
ClosedPublic

Authored by astippich on Thu, May 30, 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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
astippich created this revision.Thu, May 30, 11:16 AM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptThu, May 30, 11:16 AM
Restricted Application added subscribers: Baloo, kde-frameworks-devel. · View Herald Transcript
astippich requested review of this revision.Thu, May 30, 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)Thu, May 30, 11:18 AM
bruns accepted this revision.Thu, May 30, 11:35 AM
This revision is now accepted and ready to land.Thu, May 30, 11:35 AM
This revision was automatically updated to reflect the committed changes.