Hi
I am still pretty new to PHP and have written a calculator script that takes Number1, divides it by 100, multiplies it by Number 2 then finally divides it by 20 (trust me there is a purpose to this!!)
The problem is that it (for instance) when Number1 is 254 and Number2 is 480 it returns 60.9600 when what I actually want it to return is 61.
I have tried every round(), floor() etc statement I can find but it still returns 60.9600!!!
The calculation is: $answare = $number1/100*$number2/20;
Please, please can someone tell me how to return just the integer part?
Thanks


