Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 contemplating the Monastery: (1)
As of 2018-07-22 02:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (451 votes). Check out past polls.

    Notices?