We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The IEC prefixes are Ki, Mi, Gi, etc. so the i belongs with the prefix, not the suffix.
As pointed out on reddit: https://www.reddit.com/r/PHP/comments/3yq3yx/byteformatter_is_a_psr2_compliant_library_that/cygfps8
The text was updated successfully, but these errors were encountered:
I'm not entirely sure what this means. Can you explain further?
Sorry, something went wrong.
-iB isn't a suffix, the 'i' is part of the prefix. You wouldn't have 1000iB, you'd have 1000B.
The term suffix is used here to mean the unit is suffixed to the value. i.e. the value is the prefix and the units are the suffix.
The issue is with the distinction between prefix and suffix as defined in SymbolDecorator.
SymbolDecorator
No branches or pull requests
The IEC prefixes are Ki, Mi, Gi, etc. so the i belongs with the prefix, not the suffix.
As pointed out on reddit: https://www.reddit.com/r/PHP/comments/3yq3yx/byteformatter_is_a_psr2_compliant_library_that/cygfps8
The text was updated successfully, but these errors were encountered: