datatype to type