cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to get exact cell format in webdynpro java while uploading excel f

Former Member
0 Kudos

Hi All,

We have excel upload functionality in our application where uses across the globe used to upload the excel in their respective format (There are three main formats i.e. 1 ###,###.## 2 ###.###,## 3 ### ###.##) .we have validation to check that the excel format and user format is same or not. If format is not same then user will get error message, otherwise excel will get uploaded.

Now the problem is, when I try to upload excel with some numeric values which has thousand separator u201C,u201D & Decimal separator u201C.u201D (e.g. 100,000.00) and try to print cell value in WebDynpro application using JXL API then it gives me same value i.e. 100,000.00. But when I try to upload excel which has thousand separator u201C.u201D & Decimal separator u201C,u201D (e.g. 100.000,00) and try to print cell value using JXL API then it gives me 100,000.00 , Ideally it should print 100.000,00 instead of 100,000.00

We are using JXL API to get the excel content:

Sting l_sheetval = l_sheet.getCell(l_ColCounter, l_RowCounter).getContents();

Please let me know if anybody has any idea regarding this

Thanks

Sandeep

Accepted Solutions (1)

Accepted Solutions (1)

junwu
Active Contributor
0 Kudos

i think it is jxl issue, which ignores the format.

you'd better try poi.

Answers (0)