Fixed parsing of decimals at the end of raw input