Why don't you use two different offsets? If you use N_OffSet for the negative number and P_OffSet for the positive number the operation will be:
LCD_Temperature = Sensor_Temperature + P_OffSet - N_OffSet
You have simply to set to zero the value not used.
Cheers
Al.
Bookmarks