Mac Carbon プロジェクトで CFLocale / CFNumberFormatter を使用して、数値の左側または右側に通貨記号があるかどうかを判断するにはどうすればよいですか?
I need to interface with a spreadsheet application which requires me to pass a number, currency symbol, currency symbol location and padding instead of a CStringRef created with CFNumberFormatter.
CFLocaleRef currentLocale = CFLocaleCopyCurrent();
CFTypeRef currencySymbol = CFLocaleGetValue (currentLocale, kCFLocaleCurrencySymbol);
provides me with the currency symbol as a string. But I'm lost on how to determine the position of the currency symbol...