Skip to content

cs-interactive now reflects user culture #6661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/standard/base-types/custom-numeric-format-strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ You can create a custom numeric format string, which consists of one or more cus

The following sections provide detailed information about each of the custom numeric format specifiers.

[!INCLUDE[C# interactive-note](~/includes/csharp-interactive-with-culture-note.md)]
[!INCLUDE[C# interactive-note](~/includes/csharp-interactive-note.md)]

<a name="Specifier0"></a>
## The "0" custom specifier
Expand Down
4 changes: 2 additions & 2 deletions docs/standard/base-types/standard-numeric-format-strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Standard numeric format strings are supported by:
<a name="Using"></a>
## Using Standard Numeric Format Strings

[!INCLUDE[interactive-note](~/includes/csharp-interactive-with-culture-note.md)]
[!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)]

A standard numeric format string can be used to define the formatting of a numeric value in one of two ways:

Expand Down Expand Up @@ -344,7 +344,7 @@ For <xref:System.Double> values, the "R" format specifier in some cases fails to

## Example

[!INCLUDE[interactive-note](~/includes/csharp-interactive-with-culture-note.md)]
[!INCLUDE[interactive-note](~/includes/csharp-interactive-note.md)]

The following example formats an integral and a floating-point numeric value using the en-US culture and all the standard numeric format specifiers. This example uses two particular numeric types (<xref:System.Double> and <xref:System.Int32>), but would yield similar results for any of the other numeric base types (<xref:System.Byte>, <xref:System.SByte>, <xref:System.Int16>, <xref:System.Int32>, <xref:System.Int64>, <xref:System.UInt16>, <xref:System.UInt32>, <xref:System.UInt64>, <xref:System.Numerics.BigInteger>, <xref:System.Decimal>, and <xref:System.Single>).

Expand Down
9 changes: 0 additions & 9 deletions includes/csharp-interactive-with-culture-note.md

This file was deleted.