02-06-2010, 08:10 AM
|
#2 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
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
|
|
|
|