Silverfrost Logo About Us | Contact Us
 

FLOOR

Platform

x64, Win32, .NET

Purpose

To get the greatest integer less than or equal to its argument.

Class

Elemental function.

Syntax

INTEGER FUNCTION FLOOR(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.

Return value

FLOOR(2.6) gives 2. FLOOR(-3.4) gives -4.

 

 

Copyright © 1999-2017 Silverfrost Limited