Re: Finder File Size discrepancy..
Re: Finder File Size discrepancy..
- Subject: Re: Finder File Size discrepancy..
- From: Charles Srstka <email@hidden>
- Date: Tue, 27 Dec 2011 12:19:58 -0600
On Dec 27, 2011, at 11:32 AM, Kyle Sluder wrote:
> On Dec 27, 2011, at 8:57 AM, Robert Monaghan <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden