Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Excel Formatting

by CountOrlok (Friar)
on Apr 22, 2013 at 20:46 UTC ( #1029977=note: print w/replies, xml ) Need Help??


in reply to Re^2: Excel Formatting
in thread Excel Formatting

You are applying the currency format at the end, after you have written all the data? (before closing the file, of course).

Replies are listed 'Best First'.
Re^4: Excel Formatting
by PerlSufi (Friar) on Apr 22, 2013 at 20:54 UTC
    Yes. I have tried declaring
    my $trans_format = $workbook->add_format(); $trans_format->set_num_format('$0.00');
    where I set my other formats and after the while loop. I have also done $worksheet->set_column('I:I', undef, $trans_format); after the while loop. I can't figure it out..

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1029977]
help
Chatterbox?
[chacham]: there's a regexp function. if that can be used ina check() constraint...
[LanX]: Thanks, but no check constraints in MySQL :/
LanX 1 ..2 ..3 ..4 .. is erix missing ;-)
LanX is Discipulus reciting "Springtime for Hitler" ?
[choroba]: erix could tell you how to do it in Postgres
[LanX]: NOOOOOOOOOOOOOOO not again
[chacham]: wow, mysql really is as bad as i thougt
[choroba]: completion?
[LanX]: That's what he usually does when MySQL is mentioned ;-)

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (11)
As of 2017-03-30 15:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (360 votes). Check out past polls.