takn25 Posted April 14, 2011 Share Posted April 14, 2011 Hi, I was wondering if I wanted lets say 3 to the power of 10 how can I do this in php? I searched a few places for some power to operator in PHP but no luck could some one tell me thanks? Quote Link to comment https://forums.phpfreaks.com/topic/233715-how-can-i-get-the-power-to-result/ Share on other sites More sharing options...
dreamwest Posted April 14, 2011 Share Posted April 14, 2011 echo pow(3, 10); Quote Link to comment https://forums.phpfreaks.com/topic/233715-how-can-i-get-the-power-to-result/#findComment-1201553 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.