Math387.CeilToInt / CeilToIntf Method

Overload List

#SignatureDescription
1function CeilToInt(const X: Double): Integer;Round towards positive infinity.
2function CeilToIntf(const X: Single): Integer;

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

Round towards positive infinity.

#NameTypeDescription
1XDouble

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: function CeilToIntf(const X: Single): Integer;

#NameTypeDescription
1XSingle

Returns: Int32