Ceiling()

 <  Day Day Up  >  

Ceiling()

Category: Number

Syntax: Ceiling ( number )

Parameters: number ”any expression that resolves to a numeric value.

Description: Returns number rounded up to the next integer.

Examples:

 

 Ceiling ( 1.05 ) = 2 Ceiling ( -4.6 ) = -4 Ceiling ( 3 ) = 3 

Comments:

One common use for the Ceiling function is finding out how many pages will be required to print x items if y items fit on a page. The formula for this is Ceiling ( x / y ) . For instance, if you have 16 items, and 5 can print per page, you would need Ceiling (16/5) = Ceiling (3.2) = 4 pages .

 <  Day Day Up  >  


QUE CORPORATION - Using Filemaker pro X
QUE CORPORATION - Using Filemaker pro X
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 494

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net