convert datatypes to decimal