Navigation:  thinBasic Modules > Core > Numeric handling >

CEIL

Previous pageReturn to chapter overviewNext page

 

Description

 

Convert a floating-point variable or expression into an integer-class value, by returning the smallest integer value that is greater than or equal to its argument.

 

Syntax

 

n = CEIL(numeric_expression)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning









 

Remarks

 

Restrictions

 

See also

 

Numeric Handling,

 

Examples

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com