我需要你的帮助,
例如,我有一个十进制类型变量,我想以这种方式向上舍入.
例如
3.0 = 3
3.1 = 4
3.2 = 4
3.3 = 4
3.4 = 4
3.5 = 4
3.6 = 4
3.7 = 4
3.8 = 4
3.9 = 4
4.0 = 4
4.1 = 5
4.2 = 5
等等....
我怎样才能做到这一点?
Math.Ceiling