API  0.9.10
CPNumberFormatter.h
Go to the documentation of this file.
1 
3 {
4  CPNumberFormatterStyle _numberStyle // @accessors(property=numberStyle);
5  CPString _perMillSymbol // @accessors(property=perMillSymbol);
6  CPString _groupingSeparator // @accessors(property=groupingSeparator);
7  CPNumberFormatterRoundingMode _roundingMode // @accessors(property=roundingMode);
8  CPUInteger _minimumFractionDigits // @accessors(property=minimumFractionDigits);
9  CPUInteger _maximumFractionDigits // @accessors(property=maximumFractionDigits);
10  CPUInteger _minimum // @accessors(property=minimum);
11  CPUInteger _maximum // @accessors(property=maximum);
12  CPString _currencyCode // @accessors(property=currencyCode);
13  CPString _currencySymbol // @accessors(property=currencySymbol);
14  BOOL _generatesDecimalNumbers // @accessors(property=generatesDecimalNumbers);
15 
16  // Note that we do not implement the 10.0 style number formatter, but the 10.4+ formatter. Therefore
17  // we don't expose this through a `roundingBehavior` property.
18  CPDecimalNumberHandler _numberHandler;
19 }
20 @end
An immutable string (collection of characters).
Definition: CPString.h:2
Decimal floating point number exception and rounding behavior. This class is mutable.
CPFormatter is an abstract class that declares an interface for objects that create, interpret, and validate the textual representation of cell contents. The Foundation framework provides two concrete subclasses of CPFormatter to generate these objects: CPNumberFormatter and CPDateFormatter.
Definition: CPFormatter.h:2