"^" operand

Nov 21 2003 4:53 AM
Hi, I would like to calculate the root value of a double number : For example : double a_value = 10,567; double result = a_value^(1/2) But it doesn't work. It seems that I have to convert the double number to int in order to use the "^" operand. How could I do that ? Thanks for reading this post.

Answers (1)