The issue to look for
Not every exponent string is rounded. If every significant digit is present and the expected width is independently known, its decimal representation can be calculated exactly. Those conditions must be established, not assumed.
What this check can tell you
The fixture contains both representations: the exponent form fails the current parser while the separately supplied complete source text passes. It makes the boundary visible.
A transparent review
- Verify that the source retained all thirteen significant digits and declares the intended field format.
- Move the decimal point twelve places in 1.234567890128E+12 to obtain 1234567890128 without floating-point rounding.
- Compare the result character-for-character with the independent original text.
- Submit that source-confirmed text; do not expect the current cleaner to expand the exponent form.
How to read the result
- This synthetic decimal value passes an EAN-13 length/checksum calculation. That demonstrates arithmetic consistency only; it does not establish product ownership or show that a real export was lossless.
- Where precision or original width is unknown, use the rounded-notation workflow instead. Mathematically expanding a number cannot reveal leading zeros that were never included.
Limits to keep in view
- No scientific-notation conversion is implemented in the app.
- Ordinary floating-point conversion is not a general identifier recovery method.
- The companion text is a labeled synthetic source, not an external product lookup.
Synthetic fixture: synthetic-exact-exponent.csv
This small synthetic example makes the transformation and observation visible. It is an educational illustration, not a claim that a supplier file or external registry was verified.
Input
EAN,SKU 1.234567890128E+12,EXACT-1 1234567890128,SOURCE-TEXT
Output
{
"checks": {
"invalidIdentifiers": 1,
"validIdentifiers": 1,
"repairCount": 0
},
"cleanedRows": [
{
"EAN": "1.234567890128E+12",
"SKU": "EXACT-1"
},
{
"EAN": "1234567890128",
"SKU": "SOURCE-TEXT"
}
]
}Observation: The notation string remains invalid. The separately supplied complete 13-digit source text passes. Mathematical expansion is a manual source-verification exercise, not an automatic app repair.
Download synthetic fixture