Math387.RoundToInt / RoundToIntf Method

Overload List

#SignatureDescription
1Int32 RoundToInt(Double X)Rounds double precision floating point number towards nearest integer (banker) and converts to 32bit integer.
2Int32 RoundToIntf(Single X)Rounds single precision floating point number towards nearest integer (banker) and converts to 32bit integer.

Overload 1: Int32 RoundToInt(Double X)

Rounds double precision floating point number towards nearest integer (banker) and converts to 32bit integer.

#NameTypeDescription
1XDoublescalar

Returns: Int32

Overload 2: Int32 RoundToIntf(Single X)

Rounds single precision floating point number towards nearest integer (banker) and converts to 32bit integer.

#NameTypeDescription
1XSinglescalar

Returns: Int32