-
Notifications
You must be signed in to change notification settings - Fork 0
/
DecimalFormat.xml
1558 lines (1538 loc) · 100 KB
/
DecimalFormat.xml
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
<Type Name="DecimalFormat" FullName="Java.Text.DecimalFormat">
<TypeSignature Language="C#" Value="public class DecimalFormat : Java.Text.NumberFormat" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit DecimalFormat extends Java.Text.NumberFormat" />
<TypeSignature Language="DocId" Value="T:Java.Text.DecimalFormat" />
<TypeSignature Language="F#" Value="type DecimalFormat = class
 inherit NumberFormat" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>Java.Text.NumberFormat</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/text/DecimalFormat", DoNotGenerateAcw=true)]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/text/DecimalFormat", DoNotGenerateAcw=true)>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>
<c>DecimalFormat</c> is a concrete subclass of
<c>NumberFormat</c> that formats decimal numbers.</summary>
<remarks>
<para>
<c>DecimalFormat</c> is a concrete subclass of
<c>NumberFormat</c> that formats decimal numbers. It has a variety of
features designed to make it possible to parse and format numbers in any
locale, including support for Western, Arabic, and Indic digits. It also
supports different kinds of numbers, including integers (123), fixed-point
numbers (123.4), scientific notation (1.23E4), percentages (12%), and
currency amounts ($123). All of these can be localized.</para>
<para>To obtain a <c>NumberFormat</c> for a specific locale, including the
default locale, call one of <c>NumberFormat</c>'s factory methods, such
as <c>getInstance()</c>. In general, do not call the
<c>DecimalFormat</c> constructors directly, since the
<c>NumberFormat</c> factory methods may return subclasses other than
<c>DecimalFormat</c>. If you need to customize the format object, do
something like this:
<blockquote></para>
<code lang="text/java">NumberFormat f = NumberFormat.getInstance(loc);
if (f instanceof DecimalFormat) {
((DecimalFormat) f).setDecimalSeparatorAlwaysShown(true);
}
</code>
<para></blockquote></para>
<para>A <c>DecimalFormat</c> comprises a <em>pattern</em> and a set of
<em>symbols</em>. The pattern may be set directly using
<c>applyPattern()</c>, or indirectly using the API methods. The
symbols are stored in a <c>DecimalFormatSymbols</c> object. When using
the <c>NumberFormat</c> factory methods, the pattern and symbols are
read from localized <c>ResourceBundle</c>s.
<h2>Patterns</h2>
<c>DecimalFormat</c> patterns have the following syntax:
<blockquote></para>
<code lang="text/java"><i>Pattern:</i>
<i>PositivePattern</i>
<i>PositivePattern</i> ; <i>NegativePattern</i>
<i>PositivePattern:</i>
<i>Prefix<sub>opt</sub></i> <i>Number</i> <i>Suffix<sub>opt</sub></i>
<i>NegativePattern:</i>
<i>Prefix<sub>opt</sub></i> <i>Number</i> <i>Suffix<sub>opt</sub></i>
<i>Prefix:</i>
any Unicode characters except &#92;uFFFE, &#92;uFFFF, and special characters
<i>Suffix:</i>
any Unicode characters except &#92;uFFFE, &#92;uFFFF, and special characters
<i>Number:</i>
<i>Integer</i> <i>Exponent<sub>opt</sub></i>
<i>Integer</i> . <i>Fraction</i> <i>Exponent<sub>opt</sub></i>
<i>Integer:</i>
<i>MinimumInteger</i>
#
# <i>Integer</i>
# , <i>Integer</i>
<i>MinimumInteger:</i>
0
0 <i>MinimumInteger</i>
0 , <i>MinimumInteger</i>
<i>Fraction:</i>
<i>MinimumFraction<sub>opt</sub></i> <i>OptionalFraction<sub>opt</sub></i>
<i>MinimumFraction:</i>
0 <i>MinimumFraction<sub>opt</sub></i>
<i>OptionalFraction:</i>
# <i>OptionalFraction<sub>opt</sub></i>
<i>Exponent:</i>
E <i>MinimumExponent</i>
<i>MinimumExponent:</i>
0 <i>MinimumExponent<sub>opt</sub></i>
</code>
<para></blockquote></para>
<para>A <c>DecimalFormat</c> pattern contains a positive and negative
subpattern, for example, <c>"#,##0.00;(#,##0.00)"</c>. Each
subpattern has a prefix, numeric part, and suffix. The negative subpattern
is optional; if absent, then the positive subpattern prefixed with the
minus sign (<c>'-' U+002D HYPHEN-MINUS</c>) is used as the
negative subpattern. That is, <c>"0.00"</c> alone is equivalent to
<c>"0.00;-0.00"</c>. If there is an explicit negative subpattern, it
serves only to specify the negative prefix and suffix; the number of digits,
minimal digits, and other characteristics are all the same as the positive
pattern. That means that <c>"#,##0.0#;(#)"</c> produces precisely
the same behavior as <c>"#,##0.0#;(#,##0.0#)"</c>.</para>
<para>The prefixes, suffixes, and various symbols used for infinity, digits,
grouping separators, decimal separators, etc. may be set to arbitrary
values, and they will appear properly during formatting. However, care must
be taken that the symbols and strings do not conflict, or parsing will be
unreliable. For example, either the positive and negative prefixes or the
suffixes must be distinct for <c>DecimalFormat.parse()</c> to be able
to distinguish positive from negative values. (If they are identical, then
<c>DecimalFormat</c> will behave as if no negative subpattern was
specified.) Another example is that the decimal separator and grouping
separator should be distinct characters, or parsing will be impossible.</para>
<para>The grouping separator is commonly used for thousands, but in some
countries it separates ten-thousands. The grouping size is a constant number
of digits between the grouping characters, such as 3 for 100,000,000 or 4 for
1,0000,0000. If you supply a pattern with multiple grouping characters, the
interval between the last one and the end of the integer is the one that is
used. So <c>"#,##,###,####"</c> == <c>"######,####"</c> ==
<c>"##,####,####"</c>.
<h3>"special_pattern_character">Special Pattern Characters</h3></para>
<para>Many characters in a pattern are taken literally; they are matched during
parsing and output unchanged during formatting. Special characters, on the
other hand, stand for other characters, strings, or classes of characters.
They must be quoted, unless noted otherwise, if they are to appear in the
prefix or suffix as literals.</para>
<para>The characters listed here are used in non-localized patterns. Localized
patterns use the corresponding characters taken from this formatter's
<c>DecimalFormatSymbols</c> object instead, and these characters lose
their special status. Two exceptions are the currency sign and quote, which
are not localized.
<blockquote>
<table class="striped">
<caption style="display:none">Chart showing symbol, location, localized, and meaning.</caption>
<thead>
<tr>
<th scope="col" style="text-align:left">Symbol
<th scope="col" style="text-align:left">Location
<th scope="col" style="text-align:left">Localized?
<th scope="col" style="text-align:left">Meaning
</thead>
<tbody>
<tr style="vertical-align:top">
<th scope="row"><c>0</c><td>Number
<td>Yes
<td>Digit
<tr style="vertical-align: top">
<th scope="row"><c>#</c><td>Number
<td>Yes
<td>Digit, zero shows as absent
<tr style="vertical-align:top">
<th scope="row"><c>.</c><td>Number
<td>Yes
<td>Decimal separator or monetary decimal separator
<tr style="vertical-align: top">
<th scope="row"><c>-</c><td>Number
<td>Yes
<td>Minus sign
<tr style="vertical-align:top">
<th scope="row"><c>,</c><td>Number
<td>Yes
<td>Grouping separator or monetary grouping separator
<tr style="vertical-align: top">
<th scope="row"><c>E</c><td>Number
<td>Yes
<td>Separates mantissa and exponent in scientific notation.
<em>Need not be quoted in prefix or suffix.</em>
<tr style="vertical-align:top">
<th scope="row"><c>;</c><td>Subpattern boundary
<td>Yes
<td>Separates positive and negative subpatterns
<tr style="vertical-align: top">
<th scope="row"><c>%</c><td>Prefix or suffix
<td>Yes
<td>Multiply by 100 and show as percentage
<tr style="vertical-align:top">
<th scope="row"><c>&#92;u2030</c><td>Prefix or suffix
<td>Yes
<td>Multiply by 1000 and show as per mille value
<tr style="vertical-align: top">
<th scope="row"><c>&#164;</c> (<c>&#92;u00A4</c>)
<td>Prefix or suffix
<td>No
<td>Currency sign, replaced by currency symbol. If
doubled, replaced by international currency symbol.
If present in a pattern, the monetary decimal/grouping separators
are used instead of the decimal/grouping separators.
<tr style="vertical-align:top">
<th scope="row"><c>'</c><td>Prefix or suffix
<td>No
<td>Used to quote special characters in a prefix or suffix,
for example, <c>"'#'#"</c> formats 123 to
<c>"#123"</c>. To create a single quote
itself, use two in a row: <c>"# o''clock"</c>.
</tbody>
</table>
</blockquote>
<h3>Scientific Notation</h3></para>
<para>Numbers in scientific notation are expressed as the product of a mantissa
and a power of ten, for example, 1234 can be expressed as 1.234 x 10^3. The
mantissa is often in the range 1.0 &le; x < 10.0, but it need not
be.
<c>DecimalFormat</c> can be instructed to format and parse scientific
notation <em>only via a pattern</em>; there is currently no factory method
that creates a scientific notation format. In a pattern, the exponent
character immediately followed by one or more digit characters indicates
scientific notation. Example: <c>"0.###E0"</c> formats the number
1234 as <c>"1.234E3"</c>.
<ul>
<li>The number of digit characters after the exponent character gives the
minimum exponent digit count. There is no maximum. Negative exponents are
formatted using the localized minus sign, <em>not</em> the prefix and suffix
from the pattern. This allows patterns such as <c>"0.###E0 m/s"</c>.
<li>The minimum and maximum number of integer digits are interpreted
together:
<ul>
<li>If the maximum number of integer digits is greater than their minimum number
and greater than 1, it forces the exponent to be a multiple of the maximum
number of integer digits, and the minimum number of integer digits to be
interpreted as 1. The most common use of this is to generate
<em>engineering notation</em>, in which the exponent is a multiple of three,
e.g., <c>"##0.#####E0"</c>. Using this pattern, the number 12345
formats to <c>"12.345E3"</c>, and 123456 formats to
<c>"123.456E3"</c>.
<li>Otherwise, the minimum number of integer digits is achieved by adjusting the
exponent. Example: 0.00123 formatted with <c>"00.###E0"</c> yields
<c>"12.3E-4"</c>.
</ul>
<li>The number of significant digits in the mantissa is the sum of the
<em>minimum integer</em> and <em>maximum fraction</em> digits, and is
unaffected by the maximum integer digits. For example, 12345 formatted with
<c>"##0.##E0"</c> is <c>"12.3E3"</c>. To show all digits, set
the significant digits count to zero. The number of significant digits
does not affect parsing.
<li>Exponential patterns may not contain grouping separators.
</ul>
<h3>Rounding</h3>
<c>DecimalFormat</c> provides rounding modes defined in
<c>java.math.RoundingMode</c> for formatting. By default, it uses
<c>java.math.RoundingMode#HALF_EVEN RoundingMode.HALF_EVEN</c>.
<h3>Digits</h3>
For formatting, <c>DecimalFormat</c> uses the ten consecutive
characters starting with the localized zero digit defined in the
<c>DecimalFormatSymbols</c> object as digits. For parsing, these
digits as well as all Unicode decimal digits, as defined by
<c>Character#digit Character.digit</c>, are recognized.
<h4>Special Values</h4></para>
<para>
<c>NaN</c> is formatted as a string, which typically has a single character
<c>&#92;uFFFD</c>. This string is determined by the
<c>DecimalFormatSymbols</c> object. This is the only value for which
the prefixes and suffixes are not used.</para>
<para>Infinity is formatted as a string, which typically has a single character
<c>&#92;u221E</c>, with the positive or negative prefixes and suffixes
applied. The infinity string is determined by the
<c>DecimalFormatSymbols</c> object.</para>
<para>Negative zero (<c>"-0"</c>) parses to
<ul>
<li><c>BigDecimal(0)</c> if <c>isParseBigDecimal()</c> is
true,
<li><c>Long(0)</c> if <c>isParseBigDecimal()</c> is false
and <c>isParseIntegerOnly()</c> is true,
<li><c>Double(-0.0)</c> if both <c>isParseBigDecimal()</c>
and <c>isParseIntegerOnly()</c> are false.
</ul>
<h3>"synchronization">Synchronization</h3></para>
<para>Decimal formats are generally not synchronized.
It is recommended to create separate format instances for each thread.
If multiple threads access a format concurrently, it must be synchronized
externally.
<h3>Example</h3>
<blockquote></para>
<code lang="text/java"><strong>{@code
// Print out a number using the localized number, integer, currency,
// and percent format for each locale}</strong>{@code
Locale[] locales = NumberFormat.getAvailableLocales();
double myNumber = -1234.56;
NumberFormat form;
for (int j = 0; j < 4; ++j) {
System.out.println("FORMAT");
for (int i = 0; i < locales.length; ++i) {
if (locales[i].getCountry().length() == 0) {
continue; // Skip language-only locales
}
System.out.print(locales[i].getDisplayName());
switch (j) {
case 0:
form = NumberFormat.getInstance(locales[i]); break;
case 1:
form = NumberFormat.getIntegerInstance(locales[i]); break;
case 2:
form = NumberFormat.getCurrencyInstance(locales[i]); break;
default:
form = NumberFormat.getPercentInstance(locales[i]); break;
}
if (form instanceof DecimalFormat) {
System.out.print(": " + ((DecimalFormat) form).toPattern());
}
System.out.print(" -> " + form.format(myNumber));
try {
System.out.println(" -> " + form.parse(form.format(myNumber)));
} catch (ParseException e) {}
}
}
}</code>
<para></blockquote></para>
<para>Added in 1.1.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DecimalFormat ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.DecimalFormat.#ctor" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "()V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "()V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Creates a DecimalFormat using the default pattern and symbols
for the default <c>java.util.Locale.Category#FORMAT FORMAT</c> locale.</summary>
<remarks>
<para>Creates a DecimalFormat using the default pattern and symbols
for the default <c>java.util.Locale.Category#FORMAT FORMAT</c> locale.
This is a convenient way to obtain a
DecimalFormat when internationalization is not the main concern.</para>
<para>To obtain standard formats for a given locale, use the factory methods
on NumberFormat such as getNumberInstance. These factories will
return the most appropriate sub-class of NumberFormat for a given
locale.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat#DecimalFormat()" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat.DecimalFormat()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DecimalFormat (string? pattern);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string pattern) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.DecimalFormat.#ctor(System.String)" />
<MemberSignature Language="F#" Value="new Java.Text.DecimalFormat : string -> Java.Text.DecimalFormat" Usage="new Java.Text.DecimalFormat pattern" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="pattern" Type="System.String" />
</Parameters>
<Docs>
<param name="pattern">a non-localized pattern string.</param>
<summary>Creates a DecimalFormat using the given pattern and the symbols
for the default <c>java.util.Locale.Category#FORMAT FORMAT</c> locale.</summary>
<remarks>
<para>Creates a DecimalFormat using the given pattern and the symbols
for the default <c>java.util.Locale.Category#FORMAT FORMAT</c> locale.
This is a convenient way to obtain a
DecimalFormat when internationalization is not the main concern.</para>
<para>To obtain standard formats for a given locale, use the factory methods
on NumberFormat such as getNumberInstance. These factories will
return the most appropriate sub-class of NumberFormat for a given
locale.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat#DecimalFormat(java.lang.String)" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat.DecimalFormat(java.lang.String)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Lang.IllegalArgumentException">if the pattern cannot be parsed.
</exception>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected DecimalFormat (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(native int javaReference, valuetype Android.Runtime.JniHandleOwnership transfer) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.DecimalFormat.#ctor(System.IntPtr,Android.Runtime.JniHandleOwnership)" />
<MemberSignature Language="F#" Value="new Java.Text.DecimalFormat : nativeint * Android.Runtime.JniHandleOwnership -> Java.Text.DecimalFormat" Usage="new Java.Text.DecimalFormat (javaReference, transfer)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="javaReference" Type="System.IntPtr" />
<Parameter Name="transfer" Type="Android.Runtime.JniHandleOwnership" />
</Parameters>
<Docs>
<param name="javaReference">A <see cref="T:System.IntPtr" />containing a Java Native Interface (JNI) object reference.</param>
<param name="transfer">A <see cref="T:Android.Runtime.JniHandleOwnership" />indicating how to handle <paramref name="javaReference" /></param>
<summary>A constructor used when creating managed representations of JNI objects; called by the runtime.</summary>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public DecimalFormat (string? pattern, Java.Text.DecimalFormatSymbols? symbols);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string pattern, class Java.Text.DecimalFormatSymbols symbols) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.DecimalFormat.#ctor(System.String,Java.Text.DecimalFormatSymbols)" />
<MemberSignature Language="F#" Value="new Java.Text.DecimalFormat : string * Java.Text.DecimalFormatSymbols -> Java.Text.DecimalFormat" Usage="new Java.Text.DecimalFormat (pattern, symbols)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/text/DecimalFormatSymbols;)V", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/text/DecimalFormatSymbols;)V", "")>]</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="pattern" Type="System.String" />
<Parameter Name="symbols" Type="Java.Text.DecimalFormatSymbols" />
</Parameters>
<Docs>
<param name="pattern">a non-localized pattern string</param>
<param name="symbols">the set of symbols to be used</param>
<summary>Creates a DecimalFormat using the given pattern and symbols.</summary>
<remarks>
<para>Creates a DecimalFormat using the given pattern and symbols.
Use this constructor when you need to completely customize the
behavior of the format.</para>
<para>To obtain standard formats for a given
locale, use the factory methods on NumberFormat such as
getInstance or getCurrencyInstance. If you need only minor adjustments
to a standard format, you can modify the format returned by
a NumberFormat factory method.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat#DecimalFormat(java.lang.String,%20java.text.DecimalFormatSymbols)" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat.DecimalFormat(java.lang.String, java.text.DecimalFormatSymbols)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Lang.IllegalArgumentException">if the pattern cannot be parsed.
</exception>
</Docs>
</Member>
<Member MemberName="ApplyLocalizedPattern">
<MemberSignature Language="C#" Value="public virtual void ApplyLocalizedPattern (string? pattern);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ApplyLocalizedPattern(string pattern) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.DecimalFormat.ApplyLocalizedPattern(System.String)" />
<MemberSignature Language="F#" Value="abstract member ApplyLocalizedPattern : string -> unit
override this.ApplyLocalizedPattern : string -> unit" Usage="decimalFormat.ApplyLocalizedPattern pattern" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("applyLocalizedPattern", "(Ljava/lang/String;)V", "GetApplyLocalizedPattern_Ljava_lang_String_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("applyLocalizedPattern", "(Ljava/lang/String;)V", "GetApplyLocalizedPattern_Ljava_lang_String_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pattern" Type="System.String" />
</Parameters>
<Docs>
<param name="pattern">a new pattern</param>
<summary>Apply the given pattern to this Format object.</summary>
<remarks>
<para>Apply the given pattern to this Format object. The pattern
is assumed to be in a localized notation. A pattern is a
short-hand specification for the various formatting properties.
These properties can also be changed individually through the
various setter methods.</para>
<para>There is no limit to integer digits set
by this routine, since that is the typical end-user desire;
use setMaximumInteger if you want to set a real value.
For negative numbers, use a second pattern, separated by a semicolon</para>
<para>Example <c>"#,#00.0#"</c> &rarr; 1,234.56</para>
<para>This means a minimum of 2 integer digits, 1 fraction digit, and
a maximum of 2 fraction digits.</para>
<para>Example: <c>"#,#00.0#;(#,#00.0#)"</c> for negatives in
parentheses.</para>
<para>In negative patterns, the minimum and maximum counts are ignored;
these are presumed to be set in the positive pattern.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat#applyLocalizedPattern(java.lang.String)" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat.applyLocalizedPattern(java.lang.String)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Lang.IllegalArgumentException">if the pattern cannot be parsed.
</exception>
</Docs>
</Member>
<Member MemberName="ApplyPattern">
<MemberSignature Language="C#" Value="public virtual void ApplyPattern (string? pattern);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void ApplyPattern(string pattern) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.DecimalFormat.ApplyPattern(System.String)" />
<MemberSignature Language="F#" Value="abstract member ApplyPattern : string -> unit
override this.ApplyPattern : string -> unit" Usage="decimalFormat.ApplyPattern pattern" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("applyPattern", "(Ljava/lang/String;)V", "GetApplyPattern_Ljava_lang_String_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("applyPattern", "(Ljava/lang/String;)V", "GetApplyPattern_Ljava_lang_String_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="pattern" Type="System.String" />
</Parameters>
<Docs>
<param name="pattern">a new pattern</param>
<summary>Apply the given pattern to this Format object.</summary>
<remarks>
<para>Apply the given pattern to this Format object. A pattern is a
short-hand specification for the various formatting properties.
These properties can also be changed individually through the
various setter methods.</para>
<para>There is no limit to integer digits set
by this routine, since that is the typical end-user desire;
use setMaximumInteger if you want to set a real value.
For negative numbers, use a second pattern, separated by a semicolon</para>
<para>Example <c>"#,#00.0#"</c> &rarr; 1,234.56</para>
<para>This means a minimum of 2 integer digits, 1 fraction digit, and
a maximum of 2 fraction digits.</para>
<para>Example: <c>"#,#00.0#;(#,#00.0#)"</c> for negatives in
parentheses.</para>
<para>In negative patterns, the minimum and maximum counts are ignored;
these are presumed to be set in the positive pattern.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat#applyPattern(java.lang.String)" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat.applyPattern(java.lang.String)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
<exception cref="T:Java.Lang.IllegalArgumentException">if the pattern cannot be parsed.
</exception>
</Docs>
</Member>
<Member MemberName="DecimalFormatSymbols">
<MemberSignature Language="C#" Value="public virtual Java.Text.DecimalFormatSymbols? DecimalFormatSymbols { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Text.DecimalFormatSymbols DecimalFormatSymbols" />
<MemberSignature Language="DocId" Value="P:Java.Text.DecimalFormat.DecimalFormatSymbols" />
<MemberSignature Language="F#" Value="member this.DecimalFormatSymbols : Java.Text.DecimalFormatSymbols with get, set" Usage="Java.Text.DecimalFormat.DecimalFormatSymbols" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getDecimalFormatSymbols", "()Ljava/text/DecimalFormatSymbols;", "GetGetDecimalFormatSymbolsHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getDecimalFormatSymbols", "()Ljava/text/DecimalFormatSymbols;", "GetGetDecimalFormatSymbolsHandler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setDecimalFormatSymbols", "(Ljava/text/DecimalFormatSymbols;)V", "GetSetDecimalFormatSymbols_Ljava_text_DecimalFormatSymbols_Handler")]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setDecimalFormatSymbols", "(Ljava/text/DecimalFormatSymbols;)V", "GetSetDecimalFormatSymbols_Ljava_text_DecimalFormatSymbols_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Text.DecimalFormatSymbols</ReturnType>
</ReturnValue>
<Docs>
<param name="newSymbols">desired DecimalFormatSymbols</param>
<summary>Returns a copy of the decimal format symbols, which is generally not
changed by the programmer or user. -or- Sets the decimal format symbols, which is generally not changed
by the programmer or user.</summary>
<value>a copy of the desired DecimalFormatSymbols</value>
<remarks>
<para>Property getter documentation:</para>
<para>Returns a copy of the decimal format symbols, which is generally not
changed by the programmer or user.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat#getDecimalFormatSymbols()" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat.getDecimalFormatSymbols()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Sets the decimal format symbols, which is generally not changed
by the programmer or user.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat#setDecimalFormatSymbols(java.text.DecimalFormatSymbols)" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat.setDecimalFormatSymbols(java.text.DecimalFormatSymbols)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="DecimalSeparatorAlwaysShown">
<MemberSignature Language="C#" Value="public virtual bool DecimalSeparatorAlwaysShown { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool DecimalSeparatorAlwaysShown" />
<MemberSignature Language="DocId" Value="P:Java.Text.DecimalFormat.DecimalSeparatorAlwaysShown" />
<MemberSignature Language="F#" Value="member this.DecimalSeparatorAlwaysShown : bool with get, set" Usage="Java.Text.DecimalFormat.DecimalSeparatorAlwaysShown" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("isDecimalSeparatorAlwaysShown", "()Z", "GetIsDecimalSeparatorAlwaysShownHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("isDecimalSeparatorAlwaysShown", "()Z", "GetIsDecimalSeparatorAlwaysShownHandler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setDecimalSeparatorAlwaysShown", "(Z)V", "GetSetDecimalSeparatorAlwaysShown_ZHandler")]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setDecimalSeparatorAlwaysShown", "(Z)V", "GetSetDecimalSeparatorAlwaysShown_ZHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<param name="newValue">
<c>true</c> if the decimal separator is always shown;
<c>false</c> otherwise</param>
<summary>Allows you to get the behavior of the decimal separator with integers. -or- Allows you to set the behavior of the decimal separator with integers.</summary>
<value>
<c>true</c> if the decimal separator is always shown;
<c>false</c> otherwise</value>
<remarks>
<para>Property getter documentation:</para>
<para>Allows you to get the behavior of the decimal separator with integers.
(The decimal separator will always appear with decimals.)</para>
<para>Example: Decimal ON: 12345 &rarr; 12345.; OFF: 12345 &rarr; 12345</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat#isDecimalSeparatorAlwaysShown()" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat.isDecimalSeparatorAlwaysShown()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Allows you to set the behavior of the decimal separator with integers.
(The decimal separator will always appear with decimals.)</para>
<para>Example: Decimal ON: 12345 &rarr; 12345.; OFF: 12345 &rarr; 12345</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat#setDecimalSeparatorAlwaysShown(boolean)" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat.setDecimalSeparatorAlwaysShown(boolean)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Format">
<MemberSignature Language="C#" Value="public override sealed Java.Lang.StringBuffer? Format (Java.Lang.Object? number, Java.Lang.StringBuffer? toAppendTo, Java.Text.FieldPosition? pos);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class Java.Lang.StringBuffer Format(class Java.Lang.Object number, class Java.Lang.StringBuffer toAppendTo, class Java.Text.FieldPosition pos) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.DecimalFormat.Format(Java.Lang.Object,Java.Lang.StringBuffer,Java.Text.FieldPosition)" />
<MemberSignature Language="F#" Value="override this.Format : Java.Lang.Object * Java.Lang.StringBuffer * Java.Text.FieldPosition -> Java.Lang.StringBuffer" Usage="decimalFormat.Format (number, toAppendTo, pos)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("format", "(Ljava/lang/Object;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;", "")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("format", "(Ljava/lang/Object;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;", "")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.StringBuffer</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="number" Type="Java.Lang.Object" />
<Parameter Name="toAppendTo" Type="Java.Lang.StringBuffer" />
<Parameter Name="pos" Type="Java.Text.FieldPosition" />
</Parameters>
<Docs>
<param name="number">the number to format</param>
<param name="toAppendTo">the <c>StringBuffer</c> to which the formatted
text is to be appended</param>
<param name="pos">keeps track on the position of the field within the
returned string. For example, for formatting a number
<c>1234567.89</c> in <c>Locale.US</c> locale,
if the given <c>fieldPosition</c> is
<c>NumberFormat#INTEGER_FIELD</c>, the begin index
and end index of <c>fieldPosition</c> will be set
to 0 and 9, respectively for the output string
<c>1,234,567.89</c>.</param>
<summary>Formats a number and appends the resulting text to the given string
buffer.</summary>
<returns>the value passed in as <c>toAppendTo</c></returns>
<remarks>
<para>Formats a number and appends the resulting text to the given string
buffer.
The number can be of any subclass of <c>java.lang.Number</c>.</para>
<para>This implementation uses the maximum precision permitted.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat#format(java.lang.Object,%20java.lang.StringBuffer,%20java.text.FieldPosition)" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat.format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Format">
<MemberSignature Language="C#" Value="public override Java.Lang.StringBuffer? Format (double number, Java.Lang.StringBuffer? result, Java.Text.FieldPosition? fieldPosition);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class Java.Lang.StringBuffer Format(float64 number, class Java.Lang.StringBuffer result, class Java.Text.FieldPosition fieldPosition) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.DecimalFormat.Format(System.Double,Java.Lang.StringBuffer,Java.Text.FieldPosition)" />
<MemberSignature Language="F#" Value="override this.Format : double * Java.Lang.StringBuffer * Java.Text.FieldPosition -> Java.Lang.StringBuffer" Usage="decimalFormat.Format (number, result, fieldPosition)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("format", "(DLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;", "GetFormat_DLjava_lang_StringBuffer_Ljava_text_FieldPosition_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("format", "(DLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;", "GetFormat_DLjava_lang_StringBuffer_Ljava_text_FieldPosition_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.StringBuffer</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="number" Type="System.Double" />
<Parameter Name="result" Type="Java.Lang.StringBuffer" />
<Parameter Name="fieldPosition" Type="Java.Text.FieldPosition" />
</Parameters>
<Docs>
<param name="number">The double to format</param>
<param name="result">where the text is to be appended</param>
<param name="fieldPosition">keeps track on the position of the field within
the returned string. For example, for formatting
a number <c>1234567.89</c> in <c>Locale.US</c>
locale, if the given <c>fieldPosition</c> is
<c>NumberFormat#INTEGER_FIELD</c>, the begin index
and end index of <c>fieldPosition</c> will be set
to 0 and 9, respectively for the output string
<c>1,234,567.89</c>.</param>
<summary>Formats a double to produce a string.</summary>
<returns>The formatted number string</returns>
<remarks>
<para>Formats a double to produce a string.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat#format(double,%20java.lang.StringBuffer,%20java.text.FieldPosition)" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat.format(double, java.lang.StringBuffer, java.text.FieldPosition)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Format">
<MemberSignature Language="C#" Value="public override Java.Lang.StringBuffer? Format (long number, Java.Lang.StringBuffer? result, Java.Text.FieldPosition? fieldPosition);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance class Java.Lang.StringBuffer Format(int64 number, class Java.Lang.StringBuffer result, class Java.Text.FieldPosition fieldPosition) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Text.DecimalFormat.Format(System.Int64,Java.Lang.StringBuffer,Java.Text.FieldPosition)" />
<MemberSignature Language="F#" Value="override this.Format : int64 * Java.Lang.StringBuffer * Java.Text.FieldPosition -> Java.Lang.StringBuffer" Usage="decimalFormat.Format (number, result, fieldPosition)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("format", "(JLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;", "GetFormat_JLjava_lang_StringBuffer_Ljava_text_FieldPosition_Handler")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("format", "(JLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;", "GetFormat_JLjava_lang_StringBuffer_Ljava_text_FieldPosition_Handler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Lang.StringBuffer</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="number" Type="System.Int64" />
<Parameter Name="result" Type="Java.Lang.StringBuffer" />
<Parameter Name="fieldPosition" Type="Java.Text.FieldPosition" />
</Parameters>
<Docs>
<param name="number">The long to format</param>
<param name="result">where the text is to be appended</param>
<param name="fieldPosition">keeps track on the position of the field within
the returned string. For example, for formatting
a number <c>123456789</c> in <c>Locale.US</c>
locale, if the given <c>fieldPosition</c> is
<c>NumberFormat#INTEGER_FIELD</c>, the begin index
and end index of <c>fieldPosition</c> will be set
to 0 and 11, respectively for the output string
<c>123,456,789</c>.</param>
<summary>Format a long to produce a string.</summary>
<returns>The formatted number string</returns>
<remarks>
<para>Format a long to produce a string.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat#format(long,%20java.lang.StringBuffer,%20java.text.FieldPosition)" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat.format(long, java.lang.StringBuffer, java.text.FieldPosition)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="GroupingSize">
<MemberSignature Language="C#" Value="public virtual int GroupingSize { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 GroupingSize" />
<MemberSignature Language="DocId" Value="P:Java.Text.DecimalFormat.GroupingSize" />
<MemberSignature Language="F#" Value="member this.GroupingSize : int with get, set" Usage="Java.Text.DecimalFormat.GroupingSize" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[get: Android.Runtime.Register("getGroupingSize", "()I", "GetGetGroupingSizeHandler")]</AttributeName>
<AttributeName Language="F#">[<get: Android.Runtime.Register("getGroupingSize", "()I", "GetGetGroupingSizeHandler")>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[set: Android.Runtime.Register("setGroupingSize", "(I)V", "GetSetGroupingSize_IHandler")]</AttributeName>
<AttributeName Language="F#">[<set: Android.Runtime.Register("setGroupingSize", "(I)V", "GetSetGroupingSize_IHandler")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<param name="newValue">the new grouping size</param>
<summary>Return the grouping size. -or- Set the grouping size.</summary>
<value>the grouping size</value>
<remarks>
<para>Property getter documentation:</para>
<para>Return the grouping size. Grouping size is the number of digits between
grouping separators in the integer portion of a number. For example,
in the number "123,456.78", the grouping size is 3. Grouping size of
zero designates that grouping is not used, which provides the same
formatting as if calling <c>#setGroupingUsed(boolean)
setGroupingUsed(false)</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat#getGroupingSize()" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat.getGroupingSize()</code>.</a>
</format>
</para>
<para>Property setter documentation:</para>
<para>Set the grouping size. Grouping size is the number of digits between
grouping separators in the integer portion of a number. For example,
in the number "123,456.78", the grouping size is 3. Grouping size of
zero designates that grouping is not used, which provides the same
formatting as if calling <c>#setGroupingUsed(boolean)
setGroupingUsed(false)</c>.</para>
<para>The value passed in is converted to a byte, which may lose information.
Values that are negative or greater than
<c>java.lang.Byte#MAX_VALUE Byte.MAX_VALUE</c>, will throw an
<c>IllegalArgumentException</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/text/DecimalFormat#setGroupingSize(int)" title="Reference documentation">Java documentation for <code>java.text.DecimalFormat.setGroupingSize(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="JniPeerMembers">
<MemberSignature Language="C#" Value="public override Java.Interop.JniPeerMembers JniPeerMembers { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class Java.Interop.JniPeerMembers JniPeerMembers" />
<MemberSignature Language="DocId" Value="P:Java.Text.DecimalFormat.JniPeerMembers" />
<MemberSignature Language="F#" Value="member this.JniPeerMembers : Java.Interop.JniPeerMembers" Usage="Java.Text.DecimalFormat.JniPeerMembers" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)]</AttributeName>
<AttributeName Language="F#">[<System.Diagnostics.DebuggerBrowsable(System.Diagnostics.DebuggerBrowsableState.Never)>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>Java.Interop.JniPeerMembers</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>
<para>Portions of this page are modifications based on work created and shared by the <format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format> and used according to terms described in the <format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
</Docs>
</Member>
<Member MemberName="Multiplier">
<MemberSignature Language="C#" Value="public virtual int Multiplier { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Multiplier" />
<MemberSignature Language="DocId" Value="P:Java.Text.DecimalFormat.Multiplier" />
<MemberSignature Language="F#" Value="member this.Multiplier : int with get, set" Usage="Java.Text.DecimalFormat.Multiplier" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>