Skip to content

Commit eb0267a

Browse files
authored
Merge pull request dotnet#9843 from mikernet/patch-1
Improve NumberStyles docs
2 parents 89ac399 + 7ba8608 commit eb0267a

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

xml/System.Globalization/NumberStyles.xml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,20 @@
7676
7777
The following table lists the composite number styles and indicates which individual field flags they include. A "1" in a cell indicates that the composite number style includes the individual number style in that row. A "0" indicates that the composite number style does not include the individual number style.
7878
79-
||Any|Currency|Float|Integer|Number|HexNumber|
80-
|-|---------|--------------|-----------|-------------|------------|---------------|
81-
|AllowHexSpecifier (0x0200)|0|0|0|0|0|1|
82-
|AllowCurrencySymbol (0x0100)|1|1|0|0|0|0|
83-
|AllowExponent (0x0080)|1|0|1|0|0|0|
84-
|AllowThousands (0x0040)|1|1|0|0|1|0|
85-
|AllowDecimalPoint (0x0020)|1|1|1|0|1|0|
86-
|AllowParentheses (0x0010)|1|1|0|0|0|0|
87-
|AllowTrailingSign (0x0008)|1|1|0|0|1|0|
88-
|AllowLeadingSign (0x0004)|1|1|1|1|1|0|
89-
|AllowTrailingWhite (0x0002)|1|1|1|1|1|1|
90-
|AllowLeadingWhite (0x0001)|1|1|1|1|1|1|
91-
||(0x1ff)|(0x17f)|(0x0a7)|(0x007)|(0x06f)|(0x203)|
79+
||Any|Currency|Float|Integer|Number|HexNumber|BinaryNumber|
80+
|-|---------|--------------|-----------|-------------|------------|---------------|---------------|
81+
|AllowBinarySpecifier (0x0400)|0|0|0|0|0|0|1|
82+
|AllowHexSpecifier (0x0200)|0|0|0|0|0|1|0|
83+
|AllowCurrencySymbol (0x0100)|1|1|0|0|0|0|0|
84+
|AllowExponent (0x0080)|1|0|1|0|0|0|0|
85+
|AllowThousands (0x0040)|1|1|0|0|1|0|0|
86+
|AllowDecimalPoint (0x0020)|1|1|1|0|1|0|0|
87+
|AllowParentheses (0x0010)|1|1|0|0|0|0|0|
88+
|AllowTrailingSign (0x0008)|1|1|0|0|1|0|0|
89+
|AllowLeadingSign (0x0004)|1|1|1|1|1|0|0|
90+
|AllowTrailingWhite (0x0002)|1|1|1|1|1|1|1|
91+
|AllowLeadingWhite (0x0001)|1|1|1|1|1|1|1|
92+
||(0x1ff)|(0x17f)|(0x0a7)|(0x007)|(0x06f)|(0x203)|(0x403)|
9293
9394
9495
@@ -601,7 +602,7 @@
601602
</ReturnValue>
602603
<MemberValue>511</MemberValue>
603604
<Docs>
604-
<summary>Indicates that all styles except <see cref="F:System.Globalization.NumberStyles.AllowHexSpecifier" /> are used. This is a composite number style.</summary>
605+
<summary>Indicates that all styles except <see cref="F:System.Globalization.NumberStyles.AllowHexSpecifier" /> and <see cref="F:System.Globalization.NumberStyles.AllowBinarySpecifier" /> are used. This is a composite number style.</summary>
605606
</Docs>
606607
</Member>
607608
<Member MemberName="BinaryNumber">

0 commit comments

Comments
 (0)