|Temperature data type|
The data type Temperature represents a temperature measurement.
The TDE data types for quantifiable data (numeric values with units of measure) are all stored as double and are handled similarly for template scripting.
Since every quantifiable data type is stored as double, be sure to account for that when you test equivalency (for example, 1 may actually be stored as 0.999999). Either round off the values being compared, or use ranges for the comparison.
Celsius or °C — default
Fahrenheit or °F
Kelvin or K
Data from TDE defaults to the first unit listed for each data type. In the [Output] section, you can convert these values to the units you need:
[Output] MaxTemperature(Fahrenheit) = input.MaxTemp # converts °C to °F
The effective range of this data type is: -273.15 C to 1,000,000,000 °C