Math387.CeilToInt / CeilToIntf Method

Overload List

#SignatureDescription
1Int32 CeilToInt(Double X)Round towards positive infinity.
2Int32 CeilToIntf(Single X)

Overload 1: Int32 CeilToInt(Double X)

Round towards positive infinity.

#NameTypeDescription
1XDoublescalar

Returns: Int32 - the smallest integer rounded real greater than or equal to X. Ceil(-2.8) = -2 Ceil(2.8) = 3 Ceil(-1.0) = -1

See Also: Math387.Floor

Overload 2: Int32 CeilToIntf(Single X)

#NameTypeDescription
1XSinglescalar

Returns: Int32