If you need to allow entries with leading zeroes (for example, for zip codes or phone numbers), you can format the cell as text and use data validation to restrict entry to only numbers. To do this, select the cell and go to Data Validation. Choose 'Text Length' under 'Allow' and set the minimum and maximum values to the number of digits in the entry (including leading zeroes).