Hello all, I am setting a float number like 34.44 to a numerical cell, but when I open the .xls file by Microsoft Excel, it show as 34.4399986267089, it looks like the HSSFCell's setCellValue(double value) automatically convert a float to a double. But I don't want the extra digits, how can I make the .xls file shows 34.44 instead of 34.4399986267089
Thanks, Yhqian99 -- View this message in context: http://www.nabble.com/a-float-number-set-to-a-numeric-cell-is-changed-to-a-double-tp22302151p22302151.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
