1
Answer

"^" operand

Ask a question
david.khoy

david.khoy

20y
1.7k
1
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)