Answers for "postgresql why float / float is int"

SQL
0

postgres float to int

SELECT CAST(float_to_convert AS INTEGER) FROM your_table;
-- Or
SELECT float_to_convert::integer FROM your_table;
Posted by: Guest on August-26-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language