共用方式為


Round 函式

完整名稱:Std.Math.Round

function Round(value : Double) : Int

總結

將最接近的整數傳回指定的數位。 例如:Round(3.7) = 4;Round(-3.7) = -4