📜  c# 向上取整 - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:01.734000             🧑  作者: Mango

代码示例2
double number = 1.5362
  
int ceiling = Math.Ceiling(number)
//rounds number to 2