Method AsDouble
AsDouble()
Explicitly casts this Property into a double. Handle convertible types properly.
Declaration
public double AsDouble()
Returns
Type | Description |
---|---|
double | The double value. |
Exceptions
Type | Condition |
---|---|
InvalidCastException | Thrown if the stored type isn't compatible with the requested type. |