localizedString(from:number:)
Returns a localized number string with the specified style.
Declaration
class func localizedString(from num: NSNumber, number nstyle: NumberFormatter.Style) -> StringParameters
- num:
The number to localize
- nstyle:
The localization style to use. See Style for the supported values.
Return Value
An appropriately formatted NSString.