interrobang Posted June 19, 2012 Share Posted June 19, 2012 I used $file->filesizeStr to output the filesize and noticed that the unit is all lowercase i.e. kb, but it should be kB. kb = kilobit, kB = kilobyte http://en.wikipedia.org/wiki/Byte#Unit_symbol Link to comment Share on other sites More sharing options...
ryan Posted June 19, 2012 Share Posted June 19, 2012 Thanks, I didn't realize that, I will update it. I'm not sure I've ever actually seen it written like kB (looks like a mistake doesn't it?) but I'd rather it be correct than pretty. Link to comment Share on other sites More sharing options...
interrobang Posted June 19, 2012 Author Share Posted June 19, 2012 Hm, maybe thats the reason my colleges sometimes call me a "Typo Nazi". I always use kB, so it doesn't look like a mistake for me. But now I started to look around how my applications format "kB", I can only find the all uppercase formatting KB. Maybe this is a compromise between correct and pretty? And I couldn't find any document explaining why kB is mixed case, while the rest (MB, GB, TB,..) is all uppercase. Link to comment Share on other sites More sharing options...
Soma Posted June 19, 2012 Share Posted June 19, 2012 I've "never" seen kB, looks wrong to me. Either KB or kb. Edit: Funny but looking at "dB", it looks right to me because I remember it from electronics and making music (amps etc) Link to comment Share on other sites More sharing options...
ottogal Posted February 25, 2016 Share Posted February 25, 2016 Stumbled over this old thread... These are different: 1 kB = 1000 B vs. 1KB = 1024 B https://en.wikipedia.org/wiki/Kilobyte (In former times, some producers of harddisks, even if they indicated the capacity in KB, they meant kB - so it looked bigger...) 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now