📜  postgres float to int - SQL 代码示例
📅  最后修改于: 2022-03-11 15:05:32.609000             🧑  作者: Mango
代码示例1
SELECT CAST(float_to_convert AS INTEGER) FROM your_table;
-- Or
SELECT float_to_convert::integer FROM your_table;