mrguy123 has asked for the wisdom of the Perl Monks concerning the following question:
Problem is that I use database IDs that look like this: 1000000000002651. The xls file shows them in this format: 1E+15. I tried playing with the format options but without any success. Obviously I want to show the full number without any shortcuts.use Spreadsheet::WriteExcel; use strict; # Create a new Excel workbook my $workbook = Spreadsheet::WriteExcel->new('perl.xls'); # Add a worksheet my $worksheet = $workbook->add_worksheet(); # Write a number and a formula using A1 notation $worksheet->write_number('A1', 1000000000002651);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Long integers in Spreadsheet::WriteExcel
by moritz (Cardinal) on Aug 09, 2011 at 09:02 UTC | |
by mrguy123 (Hermit) on Aug 09, 2011 at 09:09 UTC | |
by Corion (Patriarch) on Aug 09, 2011 at 09:10 UTC | |
by mrguy123 (Hermit) on Aug 09, 2011 at 09:17 UTC | |
|
Re: Long integers in Spreadsheet::WriteExcel
by jmcnamara (Monsignor) on Aug 09, 2011 at 13:26 UTC |