[]
Converts the specified value to a double-precision, floating-point number.
public static bool TryToDouble(object value, out double number)
Public Shared Function TryToDouble(value As Object, ByRef number As Double) As Boolean
| Type | Name | Description |
|---|---|---|
| object | value | Value to convert |
| double | number |
| Type | Description |
|---|---|
| bool | Double-precision, floating-point number equivalent to the specified value |
| Type | Condition |
|---|---|
| InvalidCastException | Value cannot be converted. |