Click or drag to resize

RoundTripExtensionsToStringRoundTrip Method (Double)

Correctly convert a double value to a string for round-trip purposes.

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

Parameters

v
Type: SystemDouble
Double value to convert to a string.

Return Value

Type: 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).
Remarks
See MSDN "Notes to Callers".https://docs.microsoft.com/en-us/dotnet/api/system.double.tostring?redirectedfrom=MSDN&view=netframework-4.7.2#System_Double_ToString_System_String_
See Also