Click or drag to resize

RoundTripExtensionsToStringRoundTrip(Double) Method

Correctly convert a double value to a string for round-trip purposes. See MSDN "Notes to Callers" https://docs.microsoft.com/en-us/dotnet/api/system.double.tostring

Namespace: Demo3D.Common
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntax
C#
public static string ToStringRoundTrip(
	this double v
)

Parameters

v  Double
Double value to convert to a string.

Return Value

String
Round-trip string version of double value

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Double. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also