.net 如何向上取整

//rate为要取整的带小数的数值
(int)Math.Ceiling(Convert.ToDouble(rate));
posted on 2008-05-08 11:30  Eric huang  阅读(2156)  评论(0编辑  收藏  举报