THE WORLD'S LARGEST WEB DEVELOPER SITE

MS Access Int() Function

❮ MS Access Functions

Example

Return the integer part of a number:

SELECT Int(756.43) AS IntNum;
Try it Yourself »

Definition and Usage

The Int() function returns the integer part of a number.

Note: If number is negative, this function returns the first negative integer less than or equal to number.

Syntax

Int(number)

Parameter Values

Parameter Description
number Required. A numeric value

Technical Details

Works in: From Access 2000

More Examples

Example

Return the integer part of the "Price" column:

SELECT Int(Price) AS IntNum FROM Products;
Try it Yourself »

❮ MS Access Functions