共用方式為


截斷函式

完整名稱:Std.Math.Truncate

function Truncate(value : Double) : Int

總結

傳回數位的整數部分。 例如:Truncate(3.7) = 3;Truncate(-3.7) = -3