Truncate function
Fully qualified name: Std.Math.Truncate
function Truncate(value : Double) : Int
Summary
Returns the integral part of a number. For example: Truncate(3.7) = 3; Truncate(-3.7) = -3
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Fully qualified name: Std.Math.Truncate
function Truncate(value : Double) : Int
Returns the integral part of a number. For example: Truncate(3.7) = 3; Truncate(-3.7) = -3