PostgreSQL除法保留小数时间:2022-05-20 19:22:50select round(1::numeric/4::numeric,3);结果为0.25 select round( cast ( 1 as numeric )/ cast( 4 as numeric),2);