Fix scientific numbers.

I got a little gung-ho with the last fix for scientific  number and forgot to take into account decimals in the coefficient. This should fix that.