On Tuesday 02 June 2009 19:01:44 Axel Dörfler wrote: > Ingo Weinhold <ingo_weinhold@xxxxxx> wrote: > > > > float position = (float)min / (min - max); > > I guess you mean "(float)-min" here :-) I don't think he does - notice it's (min-max) whereas originally it was (max-min). -- Henri Vettenranta HeTo