sql中除法,保留小数点位数

select round(cast(226 as float)/566,6);保留小数点后6位

原文地址:https://www.cnblogs.com/wenghaowen/p/3818837.html