mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-27 10:40:50 +00:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@9698 72102866-910b-0410-8b05-ffd578937521
226 lines
7.3 KiB
HTML
226 lines
7.3 KiB
HTML
<html><head>
|
|
<title>NSNumberFormatter</title>
|
|
</head>
|
|
<body>
|
|
<a href ="NSNumber.html">[Previous] </a>
|
|
<a href ="Base.html">[Up] </a>
|
|
<a href ="NSObject.html">[Next] </a>
|
|
<h1>NSNumberFormatter</h1>
|
|
<h3>Authors </h3>
|
|
<dl>
|
|
<dt><a href ="http://www.gnustep.org/developers/whoiswho.html">Richard Frith-Macdonald</a>
|
|
<dd>
|
|
</dl>
|
|
<p>Version: $Revision$</p>
|
|
<p>Date: $Date$</p>
|
|
<h2><a name ="cont-0">NSNumberFormatter</a></h2>
|
|
<h2><a name ="NSNumberFormatter">NSNumberFormatter</a></h2>
|
|
<p><b>Declared in: </b> Foundation/NSNumberFormatter.h</p>
|
|
<p><b>Inherits from: </b> NSFormatter</p>
|
|
<p><b>Conforms to: </b> NSObject
|
|
</p>
|
|
<hr>
|
|
|
|
|
|
<h2>Instance Variables </h2>
|
|
<ul>
|
|
</ul>
|
|
<h2>Methods </h2>
|
|
<ul>
|
|
<li ><a href ="NSNumberFormatter.html#method-0">-allowsFloats</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-1">-attributedStringForNil</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-2">-attributedStringForNotANumber</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-3">-attributedStringForZero</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-4">-decimalSeparator</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-5">-format</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-6">-hasThousandSeparators</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-7">-localizesFormat</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-8">-maximum</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-9">-minimum</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-10">-negativeFormat</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-11">-positiveFormat</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-12">-roundingBehavior</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-13">-setAllowsFloats:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-14">-setAttributedStringForNil:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-15">-setAttributedStringForNotANumber:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-16">-setAttributedStringForZero:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-17">-setDecimalSeparator:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-18">-setFormat:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-19">-setHasThousandSeparators:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-20">-setLocalizesFormat:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-21">-setMaximum:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-22">-setMinimum:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-23">-setNegativeFormat:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-24">-setPositiveFormat:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-25">-setRoundingBehavior:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-26">-setTextAttributesForNegativeValues:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-27">-setTextAttributesForPositiveValues:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-28">-setThousandSeparator:</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-29">-textAttributesForNegativeValues</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-30">-textAttributesForPositiveValues</a>
|
|
<li ><a href ="NSNumberFormatter.html#method-31">-thousandSeparator</a>
|
|
</ul>
|
|
<hr><h2>Instances Methods </h2>
|
|
<h3><a name ="method-0">allowsFloats</a></h3>
|
|
- (BOOL) <b>allowsFloats</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-1">attributedStringForNil</a></h3>
|
|
- (NSAttributedString*) <b>attributedStringForNil</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-2">attributedStringForNotANumber</a></h3>
|
|
- (NSAttributedString*) <b>attributedStringForNotANumber</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-3">attributedStringForZero</a></h3>
|
|
- (NSAttributedString*) <b>attributedStringForZero</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-4">decimalSeparator</a></h3>
|
|
- (NSString*) <b>decimalSeparator</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-5">format</a></h3>
|
|
- (NSString*) <b>format</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-6">hasThousandSeparators</a></h3>
|
|
- (BOOL) <b>hasThousandSeparators</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-7">localizesFormat</a></h3>
|
|
- (BOOL) <b>localizesFormat</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-8">maximum</a></h3>
|
|
- (NSDecimalNumber*) <b>maximum</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-9">minimum</a></h3>
|
|
- (NSDecimalNumber*) <b>minimum</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-10">negativeFormat</a></h3>
|
|
- (NSString*) <b>negativeFormat</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-11">positiveFormat</a></h3>
|
|
- (NSString*) <b>positiveFormat</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-12">roundingBehavior</a></h3>
|
|
- (NSDecimalNumberHandler*) <b>roundingBehavior</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-13">setAllowsFloats:</a></h3>
|
|
- (void) <b>setAllowsFloats:</b> (BOOL)flag;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-14">setAttributedStringForNil:</a></h3>
|
|
- (void) <b>setAttributedStringForNil:</b> (NSAttributedString*)newAttributedString;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-15">setAttributedStringForNotANumber:</a></h3>
|
|
- (void) <b>setAttributedStringForNotANumber:</b> (NSAttributedString*)newAttributedString;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-16">setAttributedStringForZero:</a></h3>
|
|
- (void) <b>setAttributedStringForZero:</b> (NSAttributedString*)newAttributedString;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-17">setDecimalSeparator:</a></h3>
|
|
- (void) <b>setDecimalSeparator:</b> (NSString*)newSeparator;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-18">setFormat:</a></h3>
|
|
- (void) <b>setFormat:</b> (NSString*)aFormat;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-19">setHasThousandSeparators:</a></h3>
|
|
- (void) <b>setHasThousandSeparators:</b> (BOOL)flag;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-20">setLocalizesFormat:</a></h3>
|
|
- (void) <b>setLocalizesFormat:</b> (BOOL)flag;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-21">setMaximum:</a></h3>
|
|
- (void) <b>setMaximum:</b> (NSDecimalNumber*)aMaximum;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-22">setMinimum:</a></h3>
|
|
- (void) <b>setMinimum:</b> (NSDecimalNumber*)aMinimum;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-23">setNegativeFormat:</a></h3>
|
|
- (void) <b>setNegativeFormat:</b> (NSString*)aFormat;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-24">setPositiveFormat:</a></h3>
|
|
- (void) <b>setPositiveFormat:</b> (NSString*)aFormat;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-25">setRoundingBehavior:</a></h3>
|
|
- (void) <b>setRoundingBehavior:</b> (NSDecimalNumberHandler*)newRoundingBehavior;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-26">setTextAttributesForNegativeValues:</a></h3>
|
|
- (void) <b>setTextAttributesForNegativeValues:</b> (NSDictionary*)newAttributes;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-27">setTextAttributesForPositiveValues:</a></h3>
|
|
- (void) <b>setTextAttributesForPositiveValues:</b> (NSDictionary*)newAttributes;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-28">setThousandSeparator:</a></h3>
|
|
- (void) <b>setThousandSeparator:</b> (NSString*)newSeparator;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-29">textAttributesForNegativeValues</a></h3>
|
|
- (NSDictionary*) <b>textAttributesForNegativeValues</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-30">textAttributesForPositiveValues</a></h3>
|
|
- (NSDictionary*) <b>textAttributesForPositiveValues</b>;<br>
|
|
|
|
|
|
<hr>
|
|
<h3><a name ="method-31">thousandSeparator</a></h3>
|
|
- (NSString*) <b>thousandSeparator</b>;<br>
|
|
|
|
|
|
<hr>
|
|
</body>
|
|
|
|
</html>
|