← Strings and Text

Temperature With Sign

medium

Shows a temperature with its sign and one decimal place, -12.5 as '-12.5' and -0.5 as '-0.5'.

What it teaches

DTOS writes the minus sign itself: -0.5 is -5 in tenths, DTOS gives '-5', and a point before its last digit makes '-.5'. Rounding can take the sign away too: -0.04 is 0 tenths, so it shows '0.0', not '-0.0'. The rest is the method from Weight With One Decimal: whole tenths, a 0 before the point below 1, and the point put back as text.

Parameters

TagDirectionTypeDefaultDescription
In_TempInputREAL-12.5The temperature in °C, -99.9 to 999.9
Ref_TextInOutSTRING—The temperature as the display shows it

Required behavior