int a,b;
Round(a/b,2);如果b>a结果总是0,晕了!
要改成这样的:
Round(a/cast(b as float),2);
转载于:https://www.cnblogs.com/tenghoo/archive/2006/11/13/559431.html
int a,b;
Round(a/b,2);如果b>a结果总是0,晕了!
要改成这样的:
Round(a/cast(b as float),2);
转载于:https://www.cnblogs.com/tenghoo/archive/2006/11/13/559431.html