Was this content helpful?
Form Data and Retrieve CSV Reports are replacing numbers when longer than 15 digits.
Excel uses a Floating Point Number system by default, this causes numbers larger than 15 digits to be represented in Exponent form.
Confirmation of the Behavior
For confirmation, in this example we will use an envelope created for testing purposes. The Envelope has three radio buttons, one signature, one initial, then data fields for the name, two lines of billing address, CC number, and Verification Code. The CC Number has had the mask set to Number and the value hidden by *******.
For the Credit Card, we’ll use the number 12345678912345689, this is three digits over the limit for floating point numbers.
Viewing the Form Data, we can see that this information is correctly populated.
After opening the CSV in Excel, the number listed has been replaced with 1.234567E+17. When viewing the cell you can see the value of the number has changed to 123456789123456000.
If you view this same information in another application, like PowerShell or Notepad++, you can see in the following screen shot that the information is accurate.
Opening this same CSV in another spreadsheet application, in my example I’ll be using Google Docs, you can see that the information is correctly populated outside of Excel.
Very Important Note regarding viewing CSVs in Excel:
When viewing these reports, keep in mind that if you open Excel and make any basic changes even if it is to cells other than the CC number, Excel will Overwrite all numerical values greater than 15 digits with their exponent form, which will essentially invalidate the report.
From the Sample Spreadsheet, I’ll make a change to the value of the card holder, to Sample Change.
After saving and reopening the new incorrect value is displayed
Currently the viable workarounds for viewing these kind of reports is to either view them outside of Excel, Or use Excel's Data Import feature to automatically format the cells as Text when the data is imported.
Instead of opening the CSV directly in Excel, you can import the data as text. This ensures it is displayed correctly.