On Dec 27, 2011, at 11:32 AM, Kyle Sluder wrote:

> On Dec 27, 2011, at 8:57 AM, Robert Monaghan <b...@gluetools.com> wrote:
> 
>> Wow, I wake up one morning, and the definition of Megabytes change.
>> Did anyone explain this to the computers? The last time I checked, they 
>> still used binary.. ;)
> 
> In which case Mega- was never an appropriate prefix, since SI prefixes are 
> defined by powers of 10.
> 
> As the knowledge base article states, Mac OS X switched to base-10 file sizes 
> in Mac OS X 10.6 to reduce confusion and inconsistency with manufacturers’ 
> stated capacities. If your application runs on both 10.5 and 10.6/10.7, you 
> should probably query the OS version and choose the appropriate conversion 
> factor.

Or you can just use MiB instead of MB, which is what I do. With the regular 
prefixes varying between decimal and binary depending on which app you’re 
running, it’s the only way to display a file size and making it clear what you 
mean without the user having to do the math him/herself.

Charles

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to