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