Int function

Official Content
This documentation is valid for:

Returns an integer value representing the integer part of the parameter received.

Syntax

Int(numeric-expression)

Where:

numeric-expression
   Must be a numeric expression.

Type Returned:
Numeric

Scope

Objects: Procedure, Transaction, Web Panel, Panel, Data Provider
Generators: .NET, .NET Framework, JavaApple, Android, Angular
 

Description

This function returns the integer part of numeric-expression.

Samples

A = INT( 1.5)     A = 1
A = INT(-1.75)   A = -1
A = INT( 5/3)     A = 1

 

See Also

Integer method