NSLocale and measurement systems
NSLocale and measurement systems
- Subject: NSLocale and measurement systems
- From: Ruotger Skupin <email@hidden>
- Date: Tue, 13 Nov 2007 18:58:53 +0100
Hi,
I need to present a distance in my interface either as kilometers or
miles.
There are two keys in NSLocale that indicate which measurement system
the user prefers: NSLocaleUsesMetricSystem and
NSLocaleMeasurementSystem.
As a "native speaker of the metric system" I'm not really sure what
to do with them.
If NSLocaleUsesMetricSystem returns NO can I automatically assume
american measurement units (i.e. usage of the statute mile)?
What does NSLocaleMeasurementSystem return?
Roddi
P.S. What a mess: http://en.wikipedia.org/wiki/Mile
_______________________________________________
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