Converts a data type to another data type.