Thanks,
Bob
- Code: Select all
#converts 2nd fl temp F into 2nd fl temp C
tempF = indigo.variables[1594639582].getValue(float)
tempC = (tempF - 32) * 5/9
round(tempC, 1)
indigo.variable.updateValue(848160350, value = str(tempC))
# the calculation above for tempF of 67.0 produces tempC of 19.444444444; hoping for 19.4