Got it working
I just multiplied by -1 to get rid of the inverted measurements (meaning colder gives a higher number and warm giving a lower number), and then adding the non negative number of the variable plus the actual temperature! Works, and doesn't need resistors ![]()