Need formula to calculate value

Posted by FBSC on Stack Overflow See other posts from Stack Overflow or by FBSC
Published on 2010-06-09T17:05:13Z Indexed on 2010/06/09 17:12 UTC
Read the original article Hit count: 99

Filed under:

I have value "x" that can be from 0 to 127 and a value "y" that can be from -1000 to 0. I need to make that if x = 0 than y = -1000 and if x = 127 than y = 0... How can i make it?

© Stack Overflow or respective owner

Related posts about math