Guide · 2 min read

Long numbers lose their last digits. Here is why.

An order number like 202609100000012345 comes back as 2.02609E+17 — and if the file is saved, as 202609100000012000. The reason is a limit on precision, and the fix is to stop treating identifiers as numbers.

Fifteen digits

Excel stores numbers with 15 significant digits of precision. A longer number is rounded to 15 digits and the rest are filled with zeros. Excel's display then shows it in scientific notation because it does not fit the column: 2.02609E+17.

In the fileShownStored and saved
2026091000000123452.02609E+17202609100000012000
40001234567890104.00012E+154000123456789010
400012345678901234.00012E+1640001234567890100

The values most often hit: order and invoice numbers, shipping codes (an SSCC has 18 digits), database IDs of 18 or 19 digits, and anything that looks like a card or account number.

Why widening the column does not help

Widening the column or choosing a number format with no decimals only changes the display. The digits after the fifteenth were rounded away when the file was read; they are not in the cell to be shown.

How to keep every digit

In Excel, import the file (Data ▸ From Text/CSV) and set identifier columns to Text before loading. Or open the file with an editor that does not convert: in Intact CSV Editor 202609100000012345 is kept as the eighteen characters it is, shown in full, and saved back unchanged.

Where a column genuinely holds numbers of very different sizes — 0.000000041 beside 41000000000 — the inspector's Column tab can draw it in scientific notation or as plain digits. That is drawing only; the file keeps exactly what it had.

A note on JSON

JSON has the same trap in JavaScript, where numbers have about 15–17 significant digits. Intact CSV Editor's JSON editor keeps a twenty-digit identifier exactly as it was written rather than turning it into a float.

Try it on your own file

Intact CSV Editor is free for seven days, fourteen with an account — every feature, no card. Download the free trial.

Questions

Common questions

Why does Excel show 2.02609E+17?

The number is longer than the column and Excel switches to scientific notation. The number has also been rounded to 15 significant digits.

Can formatting the cell as a number bring the digits back?

No. The digits past the fifteenth were not kept, so no format can show them.

Open your most difficult file.

Every feature for seven days, fourteen with a free account. No card, and your files never leave your Mac.

Download free trial

macOS 14 Sonoma or later · See pricing