sql中存在除法时保留小数

 cast(cast(1 as float)*1.0/100 as dec(18,2))

原文地址:https://www.cnblogs.com/ning-xiaowo/p/12674679.html