Jump to content

Pow Error


stebut08

Recommended Posts

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,

Link to comment
https://forums.phpfreaks.com/topic/280575-pow-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.