[]
Converts an object to a double value.
public static double GetDouble(object value)
| Type | Name | Description |
|---|---|---|
| object | value | The object to convert. |
| Type | Description |
|---|---|
| double | The converted value, or double.NaN if the object could not be converted. |
Converts an object to a double value.
public static double GetDouble(object value, double defaultValue)
| Type | Name | Description |
|---|---|---|
| object | value | The object to convert. |
| double | defaultValue | The default value. |
| Type | Description |
|---|---|
| double | The converted value, or |