You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When is a necessary use for the round-trip format specifier now (maybe for some data types; but doesn't seem like it is necessary for decimal anymore).
Type of issue
Code doesn't work
Description
For https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings#round-trip-format-specifier-r , It shows a code example for using the round trip format specifier R on a double; however the code example has a comment at the end of the expected output. However; in my testing it has a result like this:

2 questions:
.ToString()by default is round-trip compatible? Maybe adbb5e9 just didn't change enough?Page URL
https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings
Content source URL
https://github.com/dotnet/docs/blob/main/docs/standard/base-types/standard-numeric-format-strings.md
Document Version Independent Id
f23035e0-f271-b48c-f9a9-8582be80b4ad
Article author
@adegeo
Metadata
Associated WorkItem - 294938