View Single Post
Old 02-06-2010, 08:59 AM   #3 (permalink)
aquastream
The Wanderer
 
Join Date: Feb 2010
Posts: 6
Thanks: 1
aquastream is on a distinguished road
Default

Quote:
Originally Posted by delayedinsanity View Post
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
 
Simple solution to a simple problem. Why didn't I think of that! Thanks DelayedInsanity.
aquastream is offline  
Reply With Quote