D13571: Correct KFormat::formatBytes examples

Stefan BrĂ¼ns noreply at phabricator.kde.org
Sat Jun 16 16:47:25 UTC 2018


bruns created this revision.
bruns added a reviewer: Frameworks.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  The example left out the "precision" parameter, reported values where
  wrong (values are rounded, not truncated). The precision parameter is
  ignored for values less than 1000 resp. 1024.

TEST PLAN
  make test

REPOSITORY
  R244 KCoreAddons

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D13571

AFFECTED FILES
  autotests/kformattest.cpp
  src/lib/util/kformat.h

To: bruns, #frameworks
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180616/cf6f9a35/attachment.html>


More information about the Kde-frameworks-devel mailing list