Fix parsing of decimal numbers