You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
elgonzo
changed the title
"k" vs. "K": Wrong symbol for KiloByteSymbol constant in DecimalByteSize.cs
[Cosmetic bug] "k" vs. "K": Wrong symbol for KiloByteSymbol constant in DecimalByteSize.cs
Mar 4, 2020
elgonzo
changed the title
[Cosmetic bug] "k" vs. "K": Wrong symbol for KiloByteSymbol constant in DecimalByteSize.cs
[Cosmetic] "k" vs. "K": Wrong symbol for KiloByteSymbol constant in DecimalByteSize.cs
Mar 4, 2020
@sandrock, my issue report is not about omitting the "B" (a unit). My issue report is regarding lowercase k vs. uppercase K (a unit prefix). And my recommendation is essentially the same as yours: using "kB" (lowercase k) for 1000 bytes :-)
The KiloByteSymbol in DecimalByteSize.cs (line 14) is incorrectly declared as "KB".
The uppercase "K", is considered an informal (non-standard) notation for 1024 bytes (=KiB). The correct unit prefix for 1000 is lowercase "k".
(By the way, one of the Wikipedia articles linked in the readme.md also points this out: https://en.wikipedia.org/wiki/Kilobyte#Definitions_and_usage ;-) )
The text was updated successfully, but these errors were encountered: