SQL保留两位小数

select   cast(cast(10 as float)/3 as decimal(10,2)) 

结果:3.33
posted @ 2009-03-04 23:50  YaSin  阅读(679)  评论(1)    收藏  举报