[gradsusr] ROUNDING OF VALUES

Uwe Gramann weather at uniserve.com
Tue Apr 9 13:01:56 EDT 2013


Hi Bala,
use the nint (nearest integer) function:

cloud_base = math_nint(cloud_base/100)*100

Cheers,
Uwe

From: bala vasanthakumar 
Sent: Tuesday, April 09, 2013 6:28 AM
To: GrADS Users 
Subject: [gradsusr] ROUNDING OF VALUES


Dear Grads Users, 

                             I am using the script for plotting Cloud base and top. Can somebody help me out to rounding off to 100th value. (we r using the grid value to plot)


Thanx in advance 



Get your own FREE website and domain with business email solutions, click here


--------------------------------------------------------------------------------
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org
http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130409/d387384b/attachment-0003.html 


More information about the gradsusr mailing list