View Single Post
  #2   Spotlight this post!  
Unread 25-02-2012, 17:42
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,089
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Complex math equation

Quote:
Originally Posted by neal View Post
I was wondering if someone could help me figure out an equation for:

I want to scale a double (between 8-13) to be from 0 - 100.
So 8 will be 0, 9 will be 20, 13 will be 100, 12.5 will be 90 and so on.

I hope that makes sense and would appreciate if someone could help.

Thanks in advance!

y = 20*x - 160


Reply With Quote