Hi I have been trying to use the equation:
int Temp; Temp = 680*((N-82)/(920-82)); return Temp;
Try this long Ralph INT Temp Ralph = 680*(N-82); Ralph /= (920-82)); Temp = (short) Ralph return (temp)