masdiana82 Posted February 10, 2009 Share Posted February 10, 2009 how to declare this function in php code [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/144555-using-math-function-on-php-code/ Share on other sites More sharing options...
corbin Posted February 10, 2009 Share Posted February 10, 2009 Sounds like homework to me. Anyway, just do it basically like you would put it in a calculator. I don't feel like converting that entire function, but you should be able to figure it out knowing * is multiplication, / is division, and pow() can be used for exponents. Quote Link to comment https://forums.phpfreaks.com/topic/144555-using-math-function-on-php-code/#findComment-758596 Share on other sites More sharing options...
Daniel0 Posted February 10, 2009 Share Posted February 10, 2009 See: http://php.net/language.operators.arithmetic http://php.net/math Quote Link to comment https://forums.phpfreaks.com/topic/144555-using-math-function-on-php-code/#findComment-758743 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.