max 0 decimal places only

i am trying to get the max 0 decimal places only on the final solution… I know its a simple solution but the answer seems to escape me…

[php]$tea = ($elite_bronze+$elite_silver+$elite_gold);
$total_elites = getWSInfo(“elites”);
$temp1 = ($tea/$total_elites);
$temp2 = ($temp1*100);[/php]

round()

ahh thank you :wink:

Sponsor our Newsletter | Privacy Policy | Terms of Service