Declared in ETString.h

Overview

NSNumber (ETStringTampering) is a helper category class that provides

Tasks

Currency formatting methods.

Instance Methods

formatAsCurrency

Formats the NSNumber instance as a currency NSString using the current NSLocale.

- (NSString *)formatAsCurrency

Return Value

A NSString object containing the NSNumber instance formatted using the current NSLocale.

Declared In

ETString.h

formatAsCurrency:

Formats the NSNumber instance as a currency NSString using the provided NSLocale.

- (NSString *)formatAsCurrency:(NSLocale *)locale

Parameters

locale

The NSLocale that will be used to format the NSNumber instance as a NSString.

Return Value

A NSString object containing the NSNumber instance formatted using the provided NSLocale.

Declared In

ETString.h