Sounds like you want an interpolation expression. I made a solid and added a slider control that went from -10 to 10 to create this expression, but you could delete
effect("Slider Control")("Slider") as the controller and pick whip to whatever you want to use as an input.
input = effect("Slider Control")("Slider");
ease(input, -10,10,0,100)
Here's a link that explains this expression and the other interpolation expressions.
Interpolation Methods: linear(), ease()
Johnny Cuevas, Editor
Thinkck.com
"I have not failed 700 times. I have succeeded in proving that those 700 ways will not work. When I have eliminated the ways that will not work, I will find the way that will work."
---THOMAS EDISON on inventing the light bulb.