Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Trailing Zeros

Former Member
0 Likes
554

Hi all,

I have a File which iam uploading it to a Excel sheet.While uploading to Excel sheet the Trailing Zeros are deleted in the Excel Sheet.

Ex: If the origional file contains total number of lines:4500. After uploading to Excel..

The Excel sheet contains total number of lines:45 only (Instead of 4500 it becoming 45 only).

I have print it as 4500.

What kind of changes i have to make in my program to over-come the problem?

Thanks in Advance

Sri...

Hi all,

I have a File which iam uploading it to a Excel sheet.While uploading to Excel sheet the Trailing Zeros are deleted in the Excel Sheet.

Ex: If the origional file contains total number of lines:4500. After uploading to Excel..

The Excel sheet contains total number of lines:45 only (Instead of 4500 it becoming 45 only).

I have print it as 4500.

What kind of changes i have to make in my program to over-come the problem?

Thanks in Advance

Sri...

3 REPLIES 3
Read only

Former Member
0 Likes
510

just enter ur data in excel and then save it as 'text tab' file..and then upload this text tab file in ur program,it woll worj perfectly..

reward points if helpfull

amit

Read only

Former Member
0 Likes
510

What data type is being passed for this Lines ?

Can u pass this field as Character Type and see the effect .

regards,

vijay

Read only

former_member508729
Active Participant
0 Likes
510

Hi Krish,

Just change the properties of excel sheets cell to text format so that the number with zeros will be shows as it is only.

Regards

Ashutosh

Reward points if helpful