bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MS Access Int() Function

Concept visual

MS Access Int() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Return the integer part of a number:

SELECT Int(756.43) AS IntNum;

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;

Previous

❮ MS Access Functions

Next

Previous

MS Access Format() Function

Next

MS Access Max() Function