I have an excel sheet created using Java program. I need to insert a Long type value( like 361272004652) in to the excel sheet. It is inserting properly. But the problem is when I opened the Excel sheet the Long value is displaying in exponential form (like 3.61272E+11).
I need the value as it is. Not in exponent form.
My code is like this:
else if (cellVal instanceof Long) {
cell.setCellValue((Long)cellVal);
...
}
where cellVal is of Object type