[PATCH] Add support for JEDEC/metric standards to KLocale::formatByteSize

Thiago Macieira thiago at kde.org
Wed Jul 15 07:42:04 BST 2009


Michael Pyne wrote:
>Question on formatByteRate: Typically anything involving bits is given
> in decimal, so I intend to continuing that convention.  Byte rates are
> typically given in decimal as well from what I understand, but given
> the feedback I've had I take it that would be a bad idea to show e.g.
> "kB/s" for a user running default IEC units, and so therefore we'd
> prefer "KiB/s"?

bits are specified in decimal units everywhere (rates and amounts), whereas 
bytes are specified in binary units everywhere.

Rates and amounts should not differ, except for the "/s" at the end.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090715/c120204d/attachment.sig>


More information about the kde-core-devel mailing list