Your Attribute may be empty.
You should do something like this:
if $Data/Temperature != empty
then parseDecimal($Data/Temperature)
else 0
Actually you can add:
parseDecimal($Data/Temperature, 0)
The second value will be used as default in case the parseDecimal doesn’t work due attribute being empty or invalid
You can also use it in parseInteger :)