Returns an NSDecimalNumber object initialized so that its value is equivalent to that in a given numeric string, interpreted using a given locale.
Original signature is '- (id)initWithString:(NSString *)numericString locale:(NSDictionary *)locale'
Available in Mac OS X v10.0 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual Id InitWithStringLocale( NSString numericString, NSDictionary locale )
Public Overridable Function InitWithStringLocale ( _ numericString As NSString, _ locale As NSDictionary _ ) As Id
public: virtual Id^ InitWithStringLocale( NSString^ numericString, NSDictionary^ locale )
Parameters
- numericString (NSString)
- A numeric string.
- locale (NSDictionary)
- A dictionary that defines the locale (specifically the NSDecimalSeparator) to use to interpret the number in numericString.
Return Value
An NSDecimalNumber object initialized so that its value is equivalent to that in numericString, interpreted using locale.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)