Why 10^(1/4) is 10? which function should I use to obtain correct result?
My test line is:
echo (10^(100/400)). " vs " . 10;
and my output is
10 vs 10
EDIT:
thanks for answers, I will use pow()
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
^is the XOR bitwise operator. Usepow(10, 1/4)(docs) instead.