For every %, the percentage would have to increase 2.2, therefor for every x, the 
percentage should increase 100/220=ca 0.45454545454545_
In arith: percentage=30+x*(100/220)
Dixi

/jones

----- Original Message ----- 
From: Steven Sacks <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 09, 2000 9:42 AM
Subject: <lingo-l> Failing at slider math


> Hey math wizards. I'm feeling stupid.
> I know I know how to do this, but I can't figure it out!
> Here's my problem.
> 
> I've got a slider.
> It's position on the bar is x.
> x goes from 30 to 250.
> 
> I need to return a percentage of variable
> total based on where x is on the slider.
> 
> total = someNumber
> 
> I don't need slider programming, just the math.
> 
> 30 = 1%
> 250 = 100%
> 
> x = ???
> 
> I know this is too easy. I feel dumb.
> 
> Steven
> 
> 
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]
> 



[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to