共用方式為


Floor 函式

完整名稱:Std.Math.Floor

function Floor(value : Double) : Int

總結

傳回小於或等於指定數位的最大整數。 例如:Floor(3.7) = 3;Floor(-3.1) = -4