in reply to Spreadsheet::Read module is rounding the decimals in XLSX file
As you could have read in the documentation, addressing a cell using the name, like in $ss->[1]{A1}, will give you the formatted value. If you want the original unformatted value, you need to address the cell using $ss->[1]{cell}[1]]1].
Use that value and format it yourself, like with the already suggested sprintf.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Spreadsheet::Read module is rounding the decimals in XLSX file
by char_perl (Initiate) on Jun 24, 2015 at 08:41 UTC | |
by afoken (Chancellor) on Jun 24, 2015 at 09:03 UTC | |
by kcott (Archbishop) on Jun 24, 2015 at 09:10 UTC | |
by char_perl (Initiate) on Jun 24, 2015 at 10:15 UTC |