Skip to main content
Skip table of contents

ceil() Operation

Syntax

set anInteger = aFloat.ceil()

Semantics

Returns the smallest integer not less than the float (see Wikipedia: ceiling function for more information).

Substitutables

aFloat

Can be any variable or object attribute having the type Float

Examples

CODE
set anInteger = aFloat.ceil();

Some Examples

Source Float

Target Integer

123.45

124

-123.45

-123

ActionScript_TypeConversions_Example

Click here to download a simple example model that different possibilities for type conversions between Float, Integer, String, and Boolean types in Scheer PAS Designer.

Related Pages:

Related Documentation:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.