Converts an object or primitive data type to a Double object.
Syntax
Double toDouble(Object objectData) Double toDouble(int integerData) Double toDouble(float floatData) Double toDouble(double doubleData)
Parameters
Return values
Returns a Double object.
Exceptions
DtpIncompatibleFormatException - If the source data type cannot be converted to Double.
Examples
Double myDoubleObj = DtpDataConversion.toDouble(myInteger);
See also