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