PDA

View Full Version : Php calculations in VB forum?


aceofspades
07-06-2007, 09:07 AM
Hey,

Im hoping to make some small calculations for each user in their postbit. I know the equation i want but i dont know much about PHP. Is php able to do things like square root a value? If its only having to perform a fairly simple calculation like:

Ans = sqrt ( X x Y) / 10

Will it slow the forum down, i mean how long will the server take to do the maths about 15 times, for 15 peoples postbits. Are we talking 10ths of a second, 100ths of a second 100ths of a second...?

Thanks for any help you can give.

James

Dismounted
07-06-2007, 09:26 AM
You won't notice any difference in speed. You can literally get PHP to do 100000 calculations within a second. But keep in mind that PHP can only be as fast as your server.

aceofspades
07-06-2007, 09:46 AM
Awesome, thank you.