Here's one way ...Code:Sign = TempC.15 ; convert to Fahrenheit TempF = ABS(TempC) */ 461 if Sign then TempF = -TempF TempF = TempF + 32 ; TempF is a signed word
Here's one way ...Code:Sign = TempC.15 ; convert to Fahrenheit TempF = ABS(TempC) */ 461 if Sign then TempF = -TempF TempF = TempF + 32 ; TempF is a signed word
DT
Bookmarks