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