View Single Post
Old 09-22-2006, 12:19 PM   #1 (permalink)
Fabyfakid
 
Junior Techie

Join Date: Oct 2004

Posts: 60

Fabyfakid

Default How to express the cubic root of a variable?

Need help; trying to get the cubic root of a variable which I have declared as a defined integer, and getting a value of 0. What could I be doing wrong?

doing this:

int x = "number I want";
pow(x, (1/3));


Thanks in advanced for your help
Fabyfakid is offline