handle decimals and scientific notation (1.2e+17)