ali_kiyani Posted December 19, 2008 Share Posted December 19, 2008 Hi, Is there any direct function that will return x^y in PHP? I know I can use loop to calculate but is there any built-in function available. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/137637-any-function-for-xy-in-php/ Share on other sites More sharing options...
sasa Posted December 19, 2008 Share Posted December 19, 2008 pow(x,y) Quote Link to comment https://forums.phpfreaks.com/topic/137637-any-function-for-xy-in-php/#findComment-719405 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.