ANINT

Platform

x64, Win32, .NET

Purpose

To round off a REAL number to its nearest integer value

Class

Elemental function.

Syntax

REAL FUNCTION ANINT(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 rounded to its nearest integer value.

Example

ANINT(1.6) gives 2.0. ANINT(-2.6) gives -3.0.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited