📜  将 float 转换为 int sql 代码示例

📅  最后修改于: 2022-03-11 15:05:15.609000             🧑  作者: Mango

代码示例1
Better to use CAST INT/CEILING/FLOOR:

SELECT CEILING(1235.53)
SELECT FLOOR(1235.53)
SELECT CAST(1235.53 AS INT)