Math387.TruncToInt / TruncToIntf Method

Overload List

#SignatureDescription
1Int32 TruncToInt(Double X)Rounds double precision floating point number towards zero and converts to 32bit integer.
2Int32 TruncToIntf(Single X)Rounds single precision floating point number towards zero and converts to 32bit integer.

Overload 1: Int32 TruncToInt(Double X)

Rounds double precision floating point number towards zero and converts to 32bit integer.

#NameTypeDescription
1XDoublescalar

Returns: Int32

Overload 2: Int32 TruncToIntf(Single X)

Rounds single precision floating point number towards zero and converts to 32bit integer.

#NameTypeDescription
1XSinglescalar

Returns: Int32