super easy one - scaling

I can't remember for the life of me how to do this lol

i have integer that ranges from -103 to 98. i want it to scale it to range from 0 to 255

there is an arduino function that can do this... any ideas?

Sure, it's called map. http://arduino.cc/en/Reference/Map

Lefty

thank you very much!