Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Cube Root?

Author
Message
Hamish McHaggis
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 25th Mar 2003 17:29
How would you find the cube root of something in DB? I know you can get the square root by doing "sqrt(num)" but I can't figure out how to do this. Is there a mathamatical way using sqrt or is there a command...?
Why the hell'd you ask me for crying out loud!?!
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 25th Mar 2003 18:11
Not at home at minute and can't remember function, but cube root of a number is same as a number to the power of 1/3 (one third)

hope that helps

Gronda, Gronda
Hamish McHaggis
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 25th Mar 2003 22:36
Oh yeah, I should have known that! Thanks.

Why the hell'd you ask me for crying out loud!?!

Login to post a reply

Server time is: 2025-05-17 02:37:55
Your offset time is: 2025-05-17 02:37:55