SQLServer int转float

例: select 2/4  会得到0
改为 select 2/4.0 则会得到0.500000

也同时达到了int转float的效果

原文地址:https://www.cnblogs.com/xcxcxcxc/p/5541205.html