BASIC stamp manual v2.2

OWOUT – BASIC Stamp Command Reference
Page 310 BASIC Stamp Syntax and Reference Manual 2.2 www.parallax.com
tempF = (ABS tempC) * 9 / 5 ' start F conversion
IF (tSign) THEN ' finish F conversion
tempF = 32 - tempF ' C was negative
ELSE
tempF = tempF + 32 ' C was positive
ENDIF
RETURN