/usr/share/GNUstep/Documentation/Developer/Base/Reference/NSNumberFormatter.gsdoc is in gnustep-base-doc 1.25.1-2ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 | <?xml version="1.0"?>
<!DOCTYPE gsdoc PUBLIC "-//GNUstep//DTD gsdoc 1.0.4//EN" "http://www.gnustep.org/gsdoc-1_0_4.dtd">
<gsdoc base="NSNumberFormatter" up="Base">
<head>
<title>NSNumberFormatter class reference</title>
<author name="Fred Kiefer">
<email address="FredKiefer@gmx.de">
FredKiefer@gmx.de
</email>
</author>
<author name="Richard Frith-Macdonald">
<email address="rfm@gnu.org">
rfm@gnu.org
</email>
</author>
<copy>2000 Free Software Foundation, Inc.</copy>
</head>
<body>
<front><contents /></front>
<chapter>
<heading>
Software documentation for the NSNumberFormatter class
</heading>
<class name="NSNumberFormatter" super="NSFormatter" ovadd="10.0.0">
<declared>Foundation/NSNumberFormatter.h</declared>
<desc>
<p>
<em>
<strong>
This class is currently not fully implemented! All
set methods will work, but stringForObject: will
ignore the format completely. The documentation
below describes what the behavior SHOULD be...
</strong>
</em>
</p>
<p>
A specialization of the
<ref type="class" id="NSFormatter">NSFormatter</ref>
class for generating string representations of
numbers ([NSNumber] and
<ref type="class" id="NSDecimalNumber">NSDecimalNumber</ref>instances) and for parsing numeric values in strings.</p>
<p>
See the
<ref type="class" id="NSFormatter">NSFormatter</ref>
documentation for description of the
basic methods for formatting and parsing that
are available.
</p>
<p>
There are no convenience initializers or
constructors for this class. Instead, to
obtain an instance, call alloc init and then
<ref type="method" id="-setFormat:">
-setFormat:
</ref>
.
</p>
<p>
The basic format of a format string uses "#"
signs to represent digits, and other characters
to represent themselves, in a context-dependent
way. Thus, for example, <code>@"#,###.00"</code>
means to print the number ending in.00 if it
has no decimal part, otherwise print two decimal
places, and to print one comma if it is
greater than 1000. Thus, 1000 prints as
"1,000.00", and 1444555.979 prints as
"1444,555.98" (see
-setRoundingBehavior:).
</p>
<p>
After setting the format, you may change the
thousands separator and decimal point using
set methods, or by calling
<ref type="method" id="-setLocalizesFormat:">
-setLocalizesFormat:
</ref>
.
</p>
<p>
You may set separate formats to be used for
positive numbers, negative numbers, and zero
independently.
</p>
<p>
In addition, this class supports attributed
strings (see
<ref type="class" id="NSAttributedString">NSAttributedString</ref>), so that you can specify font and color attributes, among others, to display aspects of a number. You can assign specific sets of attributes for positive and negative numbers, and for specific cases including 0, NaN, and <code>nil</code>...</p>
</desc>
<method type="NSNumberFormatterBehavior" factory="yes" ovadd="10.4.0">
<sel>defaultFormatterBehavior</sel>
<desc>
Returns the formatter behavior previously set as
the default using the
<ref type="method" id="+setDefaultFormatterBehavior:">
+setDefaultFormatterBehavior:
</ref>
method.
</desc>
</method>
<method type="NSString*" factory="yes" ovadd="10.6.0">
<sel>localizedStringFromNumber:</sel>
<arg type="NSNumber*">num</arg>
<sel>numberStyle:</sel>
<arg type="NSNumberFormatterStyle">localizationStyle</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" factory="yes" ovadd="10.4.0">
<sel>setDefaultFormatterBehavior:</sel>
<arg type="NSNumberFormatterBehavior">behavior</arg>
<desc>
Sets the default <var>behavior</var> of number
formatters. <br /> NB. If GNUstep has been
built without the ICU library,
NSNumberFormatterBehavior10_0
is currently used irrespective of this setting.
</desc>
</method>
<method type="BOOL" ovadd="10.0.0">
<sel>allowsFloats</sel>
<desc>
Returns whether number parsing will accept floating
point values or generate an exception (only
<strong>int</strong> values are valid). Default is
<code>YES</code>.
</desc>
</method>
<method type="BOOL" ovadd="10.4.0">
<sel>alwaysShowsDecimalSeparator</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSAttributedString*" ovadd="10.0.0">
<sel>attributedStringForNil</sel>
<desc>
Returns the exact attributed string used for
<code>nil</code> values. By default this is an empty
string.
</desc>
</method>
<method type="NSAttributedString*" ovadd="10.0.0">
<sel>attributedStringForNotANumber</sel>
<desc>
Returns the exact attributed string used for NaN
values. By default this is the string "NaN" with no
attributes.
</desc>
</method>
<method type="NSAttributedString*" ovadd="10.0.0">
<sel>attributedStringForZero</sel>
<desc>
Returns the exact attributed string used for zero
values. By default this is based on the format for
zero values, if set, or the format for positive values
otherwise.
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>currencyCode</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>currencyDecimalSeparator</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.5.0">
<sel>currencyGroupingSeparator</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>currencySymbol</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.0.0">
<sel>decimalSeparator</sel>
<desc>
Returns thousands separator used; default is '.'.
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>exponentSymbol</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.0.0">
<sel>format</sel>
<desc>
Returns the format string this instance was
initialized with.
</desc>
</method>
<method type="NSUInteger" ovadd="10.4.0">
<sel>formatWidth</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSNumberFormatterBehavior" ovadd="10.4.0">
<sel>formatterBehavior</sel>
<desc>
Returns the behavior of the receiver, either the
default behavior set for number formatters, or the
behavior specified by an earlier call to the
<ref type="method" id="-setFormatterBehavior:">
-setFormatterBehavior:
</ref>
method.
</desc>
</method>
<method type="BOOL" ovadd="10.4.0">
<sel>generatesDecimalNumbers</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="BOOL" ovadd="10.4.0">
<sel>getObjectValue:</sel>
<arg type="out id*">anObject</arg>
<sel>forString:</sel>
<arg type="NSString*">aString</arg>
<sel>range:</sel>
<arg type="NSRange*">rangep</arg>
<sel>error:</sel>
<arg type="out NSError**">error</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>groupingSeparator</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSUInteger" ovadd="10.4.0">
<sel>groupingSize</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="BOOL" ovadd="10.0.0">
<sel>hasThousandSeparators</sel>
<desc>
Returns whether thousands separator should be used,
regardless of whether it is set in format.
(Default is <code>YES</code> if explicitly set in
format.)
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>internationalCurrencySymbol</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="BOOL" ovadd="10.5.0">
<sel>isLenient</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="BOOL" ovadd="10.5.0">
<sel>isPartialStringValidationEnabled</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSLocale*" ovadd="10.4.0">
<sel>locale</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="BOOL" ovadd="10.0.0">
<sel>localizesFormat</sel>
<desc>
Returns whether this format should defer to the
locale in determining thousands separator and
decimal point. The default is to NOT localize.
</desc>
</method>
<method type="NSDecimalNumber*" ovadd="10.0.0">
<sel>maximum</sel>
<desc>
Returns maximum value that will be accepted as
valid in number parsing. Default is none.
</desc>
</method>
<method type="NSUInteger" ovadd="10.4.0">
<sel>maximumFractionDigits</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSUInteger" ovadd="10.4.0">
<sel>maximumIntegerDigits</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSUInteger" ovadd="10.5.0">
<sel>maximumSignificantDigits</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSDecimalNumber*" ovadd="10.0.0">
<sel>minimum</sel>
<desc>
Returns minimum value that will be accepted as
valid in number parsing. Default is none.
</desc>
</method>
<method type="NSUInteger" ovadd="10.4.0">
<sel>minimumFractionDigits</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSUInteger" ovadd="10.4.0">
<sel>minimumIntegerDigits</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSUInteger" ovadd="10.5.0">
<sel>minimumSignificantDigits</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>minusSign</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSNumber*" ovadd="10.4.0">
<sel>multiplier</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.0.0">
<sel>negativeFormat</sel>
<desc>
Returns format used for negative numbers.
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>negativeInfinitySymbol</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>negativePrefix</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>negativeSuffix</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>nilSymbol</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>notANumberSymbol</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSNumber*" ovadd="10.4.0">
<sel>numberFromString:</sel>
<arg type="NSString*">string</arg>
<desc>
Returns the number for this <var>string</var>.
</desc>
</method>
<method type="NSNumberFormatterStyle" ovadd="10.4.0">
<sel>numberStyle</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>paddingCharacter</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSNumberFormatterPadPosition" ovadd="10.4.0">
<sel>paddingPosition</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>perMillSymbol</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>percentSymbol</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>plusSign</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.0.0">
<sel>positiveFormat</sel>
<desc>
Returns format used for positive numbers.
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>positiveInfinitySymbol</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>positivePrefix</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>positiveSuffix</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSDecimalNumberHandler*" ovadd="10.0.0">
<sel>roundingBehavior</sel>
<desc>
Returns object specifying the rounding behavior
used when truncating decimal digits in formats.
Default is
<ref type="method" id="+defaultDecimalNumberHandler" class="NSDecimalNumberHandler">[NSDecimalNumberHandler +defaultDecimalNumberHandler]</ref>.
</desc>
</method>
<method type="NSNumber*" ovadd="10.4.0">
<sel>roundingIncrement</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSNumberFormatterRoundingMode" ovadd="10.4.0">
<sel>roundingMode</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSUInteger" ovadd="10.4.0">
<sel>secondaryGroupingSize</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setAllowsFloats:</sel>
<arg type="BOOL">flag</arg>
<desc>
Sets whether number parsing will accept floating point
values or generate an exception (only
<strong>int</strong> values are valid). Default is
<code>YES</code>.
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setAlwaysShowsDecimalSeparator:</sel>
<arg type="BOOL">flag</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setAttributedStringForNil:</sel>
<arg type="NSAttributedString*">newAttributedString</arg>
<desc>
Sets the exact attributed string used for
<code>nil</code> values. By default this is an empty
string.
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setAttributedStringForNotANumber:</sel>
<arg type="NSAttributedString*">newAttributedString</arg>
<desc>
Sets the exact attributed string used for NaN values.
By default this is the string "NaN" with no attributes.
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setAttributedStringForZero:</sel>
<arg type="NSAttributedString*">newAttributedString</arg>
<desc>
Sets the exact attributed string used for zero values.
By default this is based on the format for zero values,
if set, or the format for positive values otherwise.
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setCurrencyCode:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setCurrencyDecimalSeparator:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.5.0">
<sel>setCurrencyGroupingSeparator:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setCurrencySymbol:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setDecimalSeparator:</sel>
<arg type="NSString*">newSeparator</arg>
<desc>
Sets thousands separator used; default is '.'.
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setExponentSymbol:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setFormat:</sel>
<arg type="NSString*">aFormat</arg>
<desc>
Sets format string. See class description for more
information.
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setFormatWidth:</sel>
<arg type="NSUInteger">number</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setFormatterBehavior:</sel>
<arg type="NSNumberFormatterBehavior">behavior</arg>
<desc>
Sets the <var>behavior</var> of the formatter. <br />
NB. If GNUstep has been built without the ICU library,
NSNumberFormatterBehavior10_0
is currently used irrespective of this setting.
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setGeneratesDecimalNumbers:</sel>
<arg type="BOOL">flag</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setGroupingSeparator:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setGroupingSize:</sel>
<arg type="NSUInteger">number</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setHasThousandSeparators:</sel>
<arg type="BOOL">flag</arg>
<desc>
Sets whether thousands separator should be used,
regardless of whether it is set in format.
(Default is <code>YES</code> if explicitly set in
format.)
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setInternationalCurrencySymbol:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.5.0">
<sel>setLenient:</sel>
<arg type="BOOL">flag</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setLocale:</sel>
<arg type="NSLocale*">locale</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setLocalizesFormat:</sel>
<arg type="BOOL">flag</arg>
<desc>
Set whether this format should defer to the locale in
determining thousands separator and decimal
point. The default is to NOT localize.
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setMaximum:</sel>
<arg type="NSDecimalNumber*">aMaximum</arg>
<desc>
Sets maximum value that will be accepted as valid in
number parsing. Default is none.
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setMaximumFractionDigits:</sel>
<arg type="NSUInteger">number</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setMaximumIntegerDigits:</sel>
<arg type="NSUInteger">number</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.5.0">
<sel>setMaximumSignificantDigits:</sel>
<arg type="NSUInteger">number</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setMinimum:</sel>
<arg type="NSDecimalNumber*">aMinimum</arg>
<desc>
Sets minimum value that will be accepted as valid in
number parsing. Default is none.
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setMinimumFractionDigits:</sel>
<arg type="NSUInteger">number</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setMinimumIntegerDigits:</sel>
<arg type="NSUInteger">number</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.5.0">
<sel>setMinimumSignificantDigits:</sel>
<arg type="NSUInteger">number</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setMinusSign:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setMultiplier:</sel>
<arg type="NSNumber*">number</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setNegativeFormat:</sel>
<arg type="NSString*">aFormat</arg>
<desc>
Sets format used for negative numbers. See class
description for more information.
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setNegativeInfinitySymbol:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setNegativePrefix:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setNegativeSuffix:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setNilSymbol:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setNotANumberSymbol:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setNumberStyle:</sel>
<arg type="NSNumberFormatterStyle">style</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setPaddingCharacter:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setPaddingPosition:</sel>
<arg type="NSNumberFormatterPadPosition">position</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.5.0">
<sel>setPartialStringValidationEnabled:</sel>
<arg type="BOOL">enabled</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setPerMillSymbol:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setPercentSymbol:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setPlusSign:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setPositiveFormat:</sel>
<arg type="NSString*">aFormat</arg>
<desc>
Sets format used for positive numbers. See class
description for more information.
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setPositiveInfinitySymbol:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setPositivePrefix:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setPositiveSuffix:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setRoundingBehavior:</sel>
<arg type="NSDecimalNumberHandler*">newRoundingBehavior</arg>
<desc>
Sets object specifying the rounding behavior used when
truncating decimal digits in formats. Default is
<ref type="method" id="+defaultDecimalNumberHandler" class="NSDecimalNumberHandler">[NSDecimalNumberHandler +defaultDecimalNumberHandler]</ref>.
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setRoundingIncrement:</sel>
<arg type="NSNumber*">number</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setRoundingMode:</sel>
<arg type="NSNumberFormatterRoundingMode">mode</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setSecondaryGroupingSize:</sel>
<arg type="NSUInteger">number</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setTextAttributesForNegativeInfinity:</sel>
<arg type="NSDictionary*">newAttributes</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setTextAttributesForNegativeValues:</sel>
<arg type="NSDictionary*">newAttributes</arg>
<desc>
Sets the attributes to apply to negative values (whole
string), when
<ref type="method" id="-attributedStringForObjectValue:withDefaultAttributes:">-attributedStringForObjectValue:withDefaultAttributes:</ref> is called. Default is none.
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setTextAttributesForNil:</sel>
<arg type="NSDictionary*">newAttributes</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setTextAttributesForNotANumber:</sel>
<arg type="NSDictionary*">newAttributes</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setTextAttributesForPositiveInfinity:</sel>
<arg type="NSDictionary*">newAttributes</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setTextAttributesForPositiveValues:</sel>
<arg type="NSDictionary*">newAttributes</arg>
<desc>
Sets the attributes to apply to positive values (whole
string), when
<ref type="method" id="-attributedStringForObjectValue:withDefaultAttributes:">-attributedStringForObjectValue:withDefaultAttributes:</ref> is called. Default is none.
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setTextAttributesForZero:</sel>
<arg type="NSDictionary*">newAttributes</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.0.0">
<sel>setThousandSeparator:</sel>
<arg type="NSString*">newSeparator</arg>
<desc>
Sets thousands separator used; default is ','.
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setUsesGroupingSeparator:</sel>
<arg type="BOOL">flag</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.5.0">
<sel>setUsesSignificantDigits:</sel>
<arg type="BOOL">flag</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="void" ovadd="10.4.0">
<sel>setZeroSymbol:</sel>
<arg type="NSString*">string</arg>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>stringFromNumber:</sel>
<arg type="NSNumber*">number</arg>
<desc>
Returns the string version of this
<var>number</var> based on the format specified.
</desc>
</method>
<method type="NSDictionary*" ovadd="10.4.0">
<sel>textAttributesForNegativeInfinity</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSDictionary*" ovadd="10.0.0">
<sel>textAttributesForNegativeValues</sel>
<desc>
Returns the attributes to apply to negative values
(whole string), when
<ref type="method" id="-attributedStringForObjectValue:withDefaultAttributes:">-attributedStringForObjectValue:withDefaultAttributes:</ref> is called. Default is none.
</desc>
</method>
<method type="NSDictionary*" ovadd="10.4.0">
<sel>textAttributesForNil</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSDictionary*" ovadd="10.4.0">
<sel>textAttributesForNotANumber</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSDictionary*" ovadd="10.4.0">
<sel>textAttributesForPositiveInfinity</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSDictionary*" ovadd="10.0.0">
<sel>textAttributesForPositiveValues</sel>
<desc>
Returns the attributes to apply to positive values
(whole string), when
<ref type="method" id="-attributedStringForObjectValue:withDefaultAttributes:">-attributedStringForObjectValue:withDefaultAttributes:</ref> is called. Default is none.
</desc>
</method>
<method type="NSDictionary*" ovadd="10.4.0">
<sel>textAttributesForZero</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.0.0">
<sel>thousandSeparator</sel>
<desc>
Returns thousands separator used; default is ','.
</desc>
</method>
<method type="BOOL" ovadd="10.4.0">
<sel>usesGroupingSeparator</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="BOOL" ovadd="10.5.0">
<sel>usesSignificantDigits</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
<method type="NSString*" ovadd="10.4.0">
<sel>zeroSymbol</sel>
<desc>
<em>Description forthcoming.</em>
</desc>
</method>
</class>
</chapter>
</body>
</gsdoc>
|