ConversionToDouble(String, Double) Method
Return a number converted to Double, with no exception thrown in the
case that the specified value is not valid.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static double ToDouble(
string value,
double defaultValue
)
Public Shared Function ToDouble (
value As String,
defaultValue As Double
) As Double
No code example is currently available or this language may not be supported.
- value String
-
Value to convert to Double.
- defaultValue Double
-
The default value to return if the value can not be converted.
Double
If the caller's value was valid, a Double floating point representation
of that value. Otherwise, the caller's specified default value.