fix decimal exponent parsing (thanks Francesco)