Math387.FloorToInt / FloorToIntf Method

Overload List

#SignatureDescription
1function FloorToInt(const X: Double): Integer;Round towards negative infinity.
2function FloorToIntf(const X: Single): Integer;

Overload 1: function FloorToInt(const X: Double): Integer;

Round towards negative infinity.

#NameTypeDescription
1XDouble

Returns: Int32 - the biggest integer rounded real less than or equal to X. Floor(-2.8) = -3 Floor(2.8) = 2 Floor(-1.0) = -1

See Also: Math387.Ceil

Overload 2: function FloorToIntf(const X: Single): Integer;

#NameTypeDescription
1XSingle

Returns: Int32