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

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

代码示例1
double number = 1.5362
  
int floored = Math.Floor(number)
//rounds number to 1