Math387.TruncAndFracToInt / TruncAndFracToIntf Method

Overload List

#SignatureDescription
1Int32 TruncAndFracToInt(Double X, ref Double FractionalPart)
2Int32 TruncAndFracToIntf(Single X, ref Single FractionalPart)Splits the floating point number to integer and fractional parts.

Overload 1: Int32 TruncAndFracToInt(Double X, ref Double FractionalPart)

#NameTypeDescription
1XDoublescalar
2FractionalPartDouble (ref)output

Returns: Int32

Overload 2: Int32 TruncAndFracToIntf(Single X, ref Single FractionalPart)

Splits the floating point number to integer and fractional parts.

#NameDescription
1XDefines real number to be split into integer and fractional part.
2FractionalPartReturns the fractional part of X.

Returns: Int32 - the integer part of X.

Remarks:

Splits the floating point number to integer and fractional parts.