Subject:
|
Re: Simple Maths Help Needed
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Sat, 4 Feb 2006 23:50:13 GMT
|
Viewed:
|
2269 times
|
| |
| |
> > This is very simple, I know, but I insist on doing it wrong every time!
> > So, I have to humble myself and ask for the formula for this quite basic
> > implementation.
>
> I think what you want is:
>
> value = start_value + ((end_value - start_value) * (Progress - from) / (to -
> from))
>
> HTH
>
> ROSCO
Oh, how close I was, and yet... Thanks a lot, Rosco!
/Tore
|
|
Message has 1 Reply:
Message is in Reply To:
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|