Math387.FloorToInt / FloorToIntf Method

Overload List

#SignatureDescription
1Int32 FloorToInt(Double X)Round towards negative infinity.
2Int32 FloorToIntf(Single X)

Overload 1: Int32 FloorToInt(Double X)

Round towards negative infinity.

#NameTypeDescription
1XDoublescalar

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: Int32 FloorToIntf(Single X)

#NameTypeDescription
1XSinglescalar

Returns: Int32