IBM Support

A datapool uses exponential notation for 16 digit numbers

Troubleshooting


Problem

A user generated data with 16-digit numbers in a Microsoft® Excel spreadsheet and then saved the data to a CSV file. The user then imported the CSV file into a datapool. The datapool displays the numbers using exponential notation, for example, 1.23457E+15.

Resolving The Problem

The default cell format in Microsoft Excel displays a 16-digit number in exponential notation. Therefore, the number 1234567890123450 is displayed as 1.23457E+15; this is the value written to the .csv file when a Save As is performed. IBM® Rational® TestManager imports the data exactly as it is written, that is, as 1.23457E+15.

To get the actual numeric value in the datapool instead of the exponential notation, the data must be displayed differently in the spreadsheet. To do this, enter the data in the spreadsheet as a string literal by entering the data with a single apostrophe (') before the number. Entering '123456789012345' keeps the data in the desired format. When the data is saved as a CSV file and then imported into a datapool, TestManager displays '123456789012345.



[{"Product":{"code":"SSSHVH","label":"Rational TestManager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Datapool","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2001a;2001a.04.00;2002;2002.05.00;2002 Release 2;2002.05.20;2003;2003.06.00;2003.06.12;2003.06.13;2003.06.14","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Historical Number

139371417

Document Information

Modified date:
16 June 2018

UID

swg21135569