If you dig through the Crestron TSTAT module, you will find a piece of simpl+ that does this for you (rounds to the nearest whole number)
________________________________
From: Crestron@... on behalf of Jon
Sent: Sun 9/16/2012 2:17 PM
To: Crestron@...
Subject: [Crestron] Tstat change 74,3 degrees to 74
Hi all,
I just changed my house from a HAI thermostat that output nice even numbers like 74 or 76 degrees to the CHV-TSTAT and it outputs 74.3 or 75.1
Is there an easy thing like a ascale with the right settings that will take the 75.1 or 751 and just convert it to 75 so I can keep all my touchpanels and iphone projects the same?
I am thinking there is an easy way but its slipping my mind.
Thanks for any help
Jon
------------------------------------
Check out the Files area for useful modules, documents, and drivers.
A contact list of Crestron dealers and programmers can be found in the Database area.
Yahoo! Groups Links