Ho can I read cells with a % sign in it? If I have 105% in the Excel cell, POI tells me that this must be read as a number (which is fine). Doing so gives me 1.0d. I would expect to get 105 or 1.05d.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Probably in Excel you have 1.05 formatted as a percentage which causes it to display as 105%. I would be really surprised if POI is not giving you 1.05… maybe you are displaying the number rounded to one decimal place?