Convert val to data type type. See also: int8 uint8 int16 uint16 int32 uint32 int64 uint64 double
Convert val to data type type.