Click or drag to resize

EAPUtilToDouble Method

Overload List
  NameDescription
Public methodStatic memberToDouble(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.
Public methodStatic memberToDouble(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.
Top
See Also