int TruncAndFracToIntf(const float X, float &FractionalPart);
Splits the floating point number to integer and fractional parts.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | const float | Defines real number to be split into integer and fractional part. |
| 2 | FractionalPart | float & | Returns the fractional part of X. |
Returns: the integer part of X.
Remarks:
Splits the floating point number to integer and fractional parts.
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler