From: Tom G. <to...@mc...> - 2007-06-08 17:58:22
|
How can I specify the precision of the numbers that I am calculating with the MATH transform? I have a template to gather temperature data from a system and feed it to Hobbit, but my rrds aren't being created properly because of the decimal in the F value. I would like to round up the values to the nearest integer but didn't see anything in the docs/TEMPLATES file. My message file looks like this. I'd like to replace the 98.60 with 99, and so on. Device Temp(C) Temp(F) ----------------------------------- &green hwSensor1Temp 37 98.60 &green hwSensor2Temp 31 87.80 &green hwSensor3Temp 35 95.00 &green hwSensor4Temp 31 87.80 -- Tom Georgoulias Systems Engineer McClatchy Interactive to...@mc... |