[SOLVED]Math Calculation

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
hsiwux07
Forum Newbie
Posts: 9
Joined: Mon Oct 16, 2006 3:05 am

[SOLVED]Math Calculation

Post by hsiwux07 »

I'm sorry for this newbie question but I can't really find anything that could do this much easier.
Here is the problem:

if I want to do the square of 10, is there anything functions or operators that I could use in PHP, instead of, 10*10?

I'm trying to do this one as follows:

60/((186/100)*(186/100))

This is the kind of calculations I'm trying out !


Thanks a lot.
Last edited by hsiwux07 on Wed Oct 18, 2006 4:51 am, edited 1 time in total.
User avatar
Oren
DevNet Resident
Posts: 1640
Joined: Fri Apr 07, 2006 5:13 am
Location: Israel

Post by Oren »

hsiwux07
Forum Newbie
Posts: 9
Joined: Mon Oct 16, 2006 3:05 am

Post by hsiwux07 »

Thank you very much, the problem now is solved !


Allen
User avatar
Oren
DevNet Resident
Posts: 1640
Joined: Fri Apr 07, 2006 5:13 am
Location: Israel

Post by Oren »

hsiwux07 wrote:the problem now is solved !
Then add "[SOLVED]" to the title of the post :wink:
Post Reply