[This is preliminary documentation and is subject to change.]

Converts the string to double. This method, unlike the dotnet framework, does not throw any exception. Instead it returns 0.0 if the string cannot be converted to double.

Namespace:  OfficeClip.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public static double ToDouble(
	string str
)
Visual Basic (Declaration)
Public Shared Function ToDouble ( _
	str As String _
) As Double
Visual C++
public:
static double ToDouble(
	String^ str
)

Parameters

str
Type: System..::.String
The string that needs to be converted to double.

Return Value

The double representation of the string

See Also