Converts a complex data type to a primitive data type.
the converted primitive data type
the complex data type to convert