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.
Int(
number)
Parameter | Description |
---|---|
number | Required. A numeric value |
Works in: | From Access 2000 |
---|
Return the integer part of the "Price" column:
SELECT Int(Price) AS IntNum FROM Products;
Try it Yourself »
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!