AINT

Platform

x64, Win32, .NET

Purpose

To truncate a REAL number to its integer part.

Class

Elemental function.

Syntax

REAL FUNCTION AINT(A [,KIND])
REAL A
INTEGER KIND

Description

KIND is optional. If it is omitted the return type is the same as A. If KIND is present it specifies the kind type of the return value.

Return value

The argument is truncated towards zero.

Example

AINT(1.6) gives 1.0. AINT(-2.6) gives -2.0.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited