diff --git a/docs/standard/base-types/standard-numeric-format-strings.md b/docs/standard/base-types/standard-numeric-format-strings.md index ffd682f636923..f5f5afa0fdfc9 100644 --- a/docs/standard/base-types/standard-numeric-format-strings.md +++ b/docs/standard/base-types/standard-numeric-format-strings.md @@ -1,7 +1,7 @@ --- title: Standard numeric format strings description: In this article, learn to use standard numeric format strings to format common numeric types into text representations in .NET. -ms.date: 04/08/2021 +ms.date: 10/22/2024 ms.topic: reference dev_langs: - "csharp" diff --git a/samples/snippets/csharp/VS_Snippets_CLR_System/system.Double.ToString/cs/roundtripex1.cs b/samples/snippets/csharp/VS_Snippets_CLR_System/system.Double.ToString/cs/roundtripex1.cs index d8394400f00ab..71c519b314926 100644 --- a/samples/snippets/csharp/VS_Snippets_CLR_System/system.Double.ToString/cs/roundtripex1.cs +++ b/samples/snippets/csharp/VS_Snippets_CLR_System/system.Double.ToString/cs/roundtripex1.cs @@ -26,7 +26,10 @@ static void Main(string[] args) // If compiled to an application that targets anycpu or x64 and run on an x64 system, // the example displays the following output: // Attempting to round-trip a Double with 'R': + // .NET Framework: // 0.6822871999174 = 0.68228719991740006: False + // .NET: + // 0.6822871999174 = 0.6822871999174: True // // Attempting to round-trip a Double with 'G17': // 0.6822871999174 = 0.6822871999174: True diff --git a/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex1.vb b/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex1.vb index 67759faea8d97..ef1a3311085b9 100644 --- a/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex1.vb +++ b/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Double.ToString/vb/roundtripex1.vb @@ -28,7 +28,10 @@ End Module ' If compiled to an application that targets anycpu or x64 and run on an x64 system, ' the example displays the following output: ' Attempting to round-trip a Double with 'R': +' .NET Framework: ' 0.6822871999174 = 0.68228719991740006: False +' .NET: +' 0.6822871999174 = 0.6822871999174: True ' ' Attempting to round-trip a Double with 'G17': ' 0.6822871999174 = 0.6822871999174: True