View Single Post
Old 02-06-2010, 08:10 AM   #2 (permalink)
delayedinsanity
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

The reason it's not acting like the first example is because you're not assigning the result of ceil().

php Code:
$var = 3.14;
echo ceil( $var ); // This just returns the result to STDOUT
$var = ceil( $var ); // This is equiv to what you were doing in the first example
 
delayedinsanity is offline  
Reply With Quote
The Following User Says Thank You to delayedinsanity For This Useful Post:
aquastream (02-06-2010)