标签:
select round(1::numeric/4::numeric,3);结果为0.25select round( cast ( 1 as numeric )/ cast( 4 as numeric),2);
PostgreSQL除法保留小数
原文地址:http://www.cnblogs.com/esther-qing/p/5908378.html