in reply to getting a cube root
The Nth root of a given number is that number raised to the reciprocal of N. Thus:
print $num ** (1/3);Update: Heh. Looks like I beat the rush. Is this where I delete everything and replace it with "first post!"? :)
Cheers,
Ovid
New address of my CGI Course.
|
|---|