Skip to content

Commit 66b62c1

Browse files
author
Ron Petrusha
authored
Merge pull request #3103 from ts2do/patch-1
Correct documentation copied from Double
2 parents f459998 + 3e6a830 commit 66b62c1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xml/System/Decimal.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6841,13 +6841,13 @@
68416841
<format type="text/markdown"><![CDATA[
68426842
68436843
## Remarks
6844-
The <xref:System.Double.ToString%28System.String%2CSystem.IFormatProvider%29> method formats a <xref:System.Double> value in a specified format of a specified culture. If you want to use default format or culture settings, use the other overloads of the <xref:System.Double.ToString%2A> method, as follows:
6844+
The <xref:System.Decimal.ToString%28System.String%2CSystem.IFormatProvider%29> method formats a <xref:System.Decimal> value in a specified format of a specified culture. If you want to use default format or culture settings, use the other overloads of the <xref:System.Decimal.ToString%2A> method, as follows:
68456845
68466846
|To use format|For culture|Use the overload|
68476847
|-------------------|-----------------|----------------------|
6848-
|Default ("G") format|Default (current) culture|<xref:System.Double.ToString>|
6849-
|Default ("G") format|A specific culture|<xref:System.Double.ToString%28System.IFormatProvider%29>|
6850-
|A specific format|Default (current) culture|<xref:System.Double.ToString%28System.String%29>|
6848+
|Default ("G") format|Default (current) culture|<xref:System.Decimal.ToString>|
6849+
|Default ("G") format|A specific culture|<xref:System.Decimal.ToString%28System.IFormatProvider%29>|
6850+
|A specific format|Default (current) culture|<xref:System.Decimal.ToString%28System.String%29>|
68516851
68526852
The `format` parameter can be any valid standard numeric format specifier except for D, R, and X, as well as any combination of custom numeric format specifiers. If `format` is `null` or an empty string, the return value for this instance is formatted with the general numeric format specifier ("G").
68536853

0 commit comments

Comments
 (0)