Overload List
| # | Signature | Description |
|---|---|---|
| 1 | Double TruncAndFrac(Double X, ref Double FractionalPart) | Splits the floating point number to integer and fractional parts. |
| 2 | Single TruncAndFracf(Single X, ref Single FractionalPart) |
Overload 1: Double TruncAndFrac(Double X, ref Double FractionalPart)
Splits the floating point number to integer and fractional parts.
| # | Name | Description |
|---|---|---|
| 1 | X | Defines real number to be split into integer and fractional part. |
| 2 | FractionalPart | Returns the fractional part of X. |
Returns: Double - the integer part of X as real.
Remarks:
Splits the floating point number to integer and fractional parts.
Overload 2: Single TruncAndFracf(Single X, ref Single FractionalPart)
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Single | scalar |
| 2 | FractionalPart | Single (ref) |
Returns: Single