But how come the same piece of code is giving me .9888 in the other environment. Also you could see that the unformatted value is '0.98880000000000001' (raw data). How can i extract this 0.9888 from that?
See http://floating-point-gui.de/ for the 0000000000001 part. Apart from that, if you want a certain precision, use sprintf, as you were told in other replies.
Alexander
In reply to Re^3: Spreadsheet::Read module is rounding the decimals in XLSX file
by afoken
in thread Spreadsheet::Read module is rounding the decimals in XLSX file
by char_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |