INT

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > Numeric functions >

INT

 

Description

 

Convert a numeric expression to an integral value.

 

Syntax

 

n = INT(numeric_expression)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning









 

Remarks

 

INT rounds numeric_expression to the largest integral value that is less than or equal to numeric_expression.

 

Restrictions

 

See also

 

Numeric functions, CEIL, FIX, FRAC, ROUND,

 

Examples