stebut08
-
Posts
2 -
Joined
-
Last visited
Posts posted by stebut08
-
-
Hi,
I have an issue with pow() function. The formula i'm trying to solve is pow(0.4723*7.73,0.8015), the result returned is 2.82332938169. However, it should return 2.43272943501. I have tested on scientific calculator and the correct result is 2.43272943501.
I tried to solve the formula with exponent of 1 rather than 0.8015 to see if this is causing the issue. I was able to return the correct result using 1, the answer returned matched scientific calculator.
I'm unsure why the exponent value 0.8015 is not working.
Thank you in advance for your help and support.
Kind regards,
Pow Error
in PHP Coding Help
Posted
Hi Kicken,
Thanks for your reply, much appreicated. Your proposed solution worked. Thanks.