CEILING

Platform

x64, Win32, .NET

Purpose

To get the least integer greater than or equal to its argument.

Class

Elemental function.

Syntax

INTEGER FUNCTION CEILING (A [,KIND])
REAL A; INTEGER KIND

Description

KIND is optional. If it is omitted the return type is the default integer type. If KIND is present it specifies the kind type of the return value.

Example

CEILING(-2.6) has the integer value -2.

See also FLOOR

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited