leading zeros

Left-side digit fillers

Leading zeros are zeros that appear before the first nonzero digit in a number: 007, 0042.

They don't change a number's value but serve formatting purposes—maintaining fixed-width fields, preserving significant digits, or meeting identifier conventions.

Spreadsheets and databases notoriously strip leading zeros from phone numbers and zip codes, treating them as numbers rather than strings of characters.

Related

number format · digits · truncate · significant · numeric · string · data type · spreadsheet · CSV · data · integer · format · mask · strip · trim · fill · align · decimal

Categories
Opposites
positional placement

leading zerossignificant digits

Numerals showing measurement precision

presence vs. absence

leading zerosraw numbers

Family

leading, zeros, lead, zero, leads, leader, leaders, leadership, mislead

Familiarity
Top 500,000
Profile
Used worldwide · Timeless · Rated G