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  青羽  阅读(2266)  评论(1编辑  收藏  举报