Core Function Ceiling

From Sputnik Wiki
Revision as of 19:32, 29 November 2011 by UberFoX (Talk | contribs)
Jump to: navigation, search
Ceiling( <expression> )

Contents

Description

Returns a number rounded up to the next integer.

Parameters

expression

Any valid numeric expression.

Return Value

Success: Returns the smallest integer greater than or equal to the specified value.

Failure: Returns 0.

Some Examples

$x = Ceiling(5.25);
printf($x); // Prints 6
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox