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

Re: percentage problem

by NetWallah (Abbot)
on Oct 17, 2012 at 15:21 UTC ( #999560=note: print w/ replies, xml ) Need Help??


in reply to percentage problem

Use a formula like this one from the documentation:

$worksheet->write('A12', '=A3 + 3*A4' ); # write_formula() # For your case, # Use my $format = $workbook->add_format(); # Create a percentage +format (Do some research here) $worksheet->write('A6', '=(A4+100)*100/(A5+200)' ,$format ); # + write_formula()

             I hope life isn't a big joke, because I don't get it.
                   -SNL


Comment on Re: percentage problem
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999560]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2015-07-04 14:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls