Conversion functions

Data type conversion.