02-06-2010, 08:59 AM
|
#3 (permalink)
|
|
The Wanderer
Join Date: Feb 2010
Posts: 6
Thanks: 1
|
Quote:
Originally Posted by delayedinsanity
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.
|
|
|
|