Rounding a computed value

Scott Hiemstra shiemstra at h2.com
Thu Mar 1 16:53:57 EST 2012


Works like a champ, thanks man.

Scott


-----Original Message-----
From: arguslist-bounces at tcp4me.com [mailto:arguslist-bounces at tcp4me.com] On Behalf Of Jeremy Kister
Sent: Thursday, March 01, 2012 4:13 PM
To: Discussion about Argus
Subject: Re: Rounding a computed value

On 3/1/2012 9:19 AM, Scott Hiemstra wrote:
> 	expr:	((%{Top:Environmentals:Server_Room:7206_Celcius} * 9) / 5) + 32

not sure if this'll work, but i bet it will:

expr:	int( ((%{Top:Environmentals:Server_Room:7206_Celcius} * 9) / 5) + 
32 + 0.5 )

-- 

Jeremy Kister
http://jeremy.kister.net./

_______________________________________________
http://argus.tcp4me.com/
Arguslist at tcp4me.com
http://www.tcp4me.com/mailman/listinfo/arguslist


More information about the Arguslist mailing list