EAPUtilToDouble Method |
Name | Description | |
---|---|---|
ToDouble(Object) |
Convert an object to a double value handling the case when the object is DBNull.
When the object is null, the return value is the value of the defaultValue parameter.
Note that currently an unparseable value (e.g. "3.5abc") will cause an exception to be thrown.
Use ToDoubleSafe(Object, Double) to guarantee no exception is thrown.
| |
ToDouble(Object, Double) |
Convert an object to a double value handling the case when the object is DBNull.
When the object is null, the return value is the value of the defaultValue parameter.
Note that currently an unparseable value (e.g. "3.5abc") will cause an exception to be thrown.
Use ToDoubleSafe(Object, Double) to guarantee no exception is thrown.
|