SQL Server 四舍五入

int a,b;
Round(a/b,2);如果b>a结果总是0,晕了!
要改成这样的:
Round(a/cast(b as float),2);

posted @ 2006-11-13 17:05  DeepSought  阅读(2295)  评论(1)    收藏  举报