Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Formatting a csv column as 'number'

by viffer (Beadle)
on Mar 13, 2012 at 05:15 UTC ( [id://959235]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open( OUT, '>', "$output_file" ) or croak "Unable to open $output_file
    +, $!";
    print OUT "$number[2], $number[$i], $number[$i+1]\n";
    
  2. or download this
    my $fmt = $workbook->add_format( num_format => '0' );
      $worksheet->write_string( 'A2', $number[$i], $fmt );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://959235]
Approved by Ratazong
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-25 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found