Fix errors in zero and decimal numbers