Subject Re: Geometric average
Author Svein Erling Tysvær
--- In firebird-support@yahoogroups.com, "Steffen Heil" wrote:
> HI
>
> > Sorry, the expression was not well. So the correct expression is:
> > Geometric average = (v1*v2*v3...vn) ^(1/n)
>
> Thats what my code does...

Not quite, suppose you have two numbers - 3 & 4, then your code does
3*4/2 = 12/2 = 6. What he is asking for is 12 to the power of 1/2,
which is around 3.46 according to my calculator.

Not that I know enough maths to know how this is useful...

Set