Math387.TruncAndFracToInt64 / TruncAndFracToInt64f Method

Overload List

#SignatureDescription
1Int64 TruncAndFracToInt64(Double X, ref Double FractionalPart)
2Int64 TruncAndFracToInt64f(Single X, ref Single FractionalPart)Splits the floating point number to integer and fractional parts.

Overload 1: Int64 TruncAndFracToInt64(Double X, ref Double FractionalPart)

#NameTypeDescription
1XDoublescalar
2FractionalPartDouble (ref)output

Returns: Int64

Overload 2: Int64 TruncAndFracToInt64f(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: Int64 - the integer part of X.

Remarks:

Splits the floating point number to integer and fractional parts.