Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Some help with my project:

by dave_the_m (Prior)
on Jan 16, 2017 at 19:26 UTC ( #1179692=note: print w/replies, xml ) Need Help??


in reply to Re: Some help with my project:
in thread Some help with my project:

That means ($avail+$used)=0
Due to precedence, it actually means $avail is zero. The OP probably meant to write
my $monit_percentual = ( $avail / ($avail+$used) ) * 100 ;

Dave.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1179692]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (11)
As of 2018-01-17 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (200 votes). Check out past polls.

    Notices?