I'm hoping someone might have a simple solution to little problem I have. Currently, I have my weather station information stored in virtual devices. e.g., "_7" contains the value 0.29, for the year to date rain fall. The problem is that when I have a script that reads the various weather conditions, HS/2 only speaks the integer component of the value contained within the device.
Is there a simple way to take the value of a device and multiply it by 100 (in my case) and store it in another variable I create? Then that way, I can parse the integer component and the decimal amounts so that I can then incorporate it better into a HS.Speak command.
Thank you in advance for any suggestions and help!
Is there a simple way to take the value of a device and multiply it by 100 (in my case) and store it in another variable I create? Then that way, I can parse the integer component and the decimal amounts so that I can then incorporate it better into a HS.Speak command.
Thank you in advance for any suggestions and help!
Comment