fix double precision input to support .123d321 type of input