Thanks Glenn, much appreciated.

How do you typecast from Int64 to Extended?

Thanks,
Stephen


----- Original Message ----- 
From: "Glenn Crouch" <[EMAIL PROTECTED]>
To: "'Borland's Delphi Discussion List'" <[email protected]>
Sent: Friday, May 23, 2008 4:19 PM
Subject: RE: Inverse root power function?

> Stephen,
>
> You don't really need one - since the nth root of x is the same as x 
> raised
> to the 1/n power :)
>
> So something akin to
>
> if N <> 0 then
> Y := Power (X, 1 / N);
>
> Hth 

_______________________________________________
Delphi mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to