Cast « Data Type « PostgreSQL






1.round(4.0, 4)
2.round(CAST (4 AS numeric), 4)
3.SELECT 1 + ('1' || '2')::integer
4.Cast char as integer