Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function TruncAndFracToInt(const X: Double; out FractionalPart: Double): Integer; | |
| 2 | function TruncAndFracToIntf(const X: Single; out FractionalPart: Single): Integer; | Splits the floating point number to integer and fractional parts. |
Overload 1: function TruncAndFracToInt(const X: Double; out FractionalPart: Double): Integer;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Double | |
| 2 | FractionalPart | Double |
Returns: Int32
Overload 2: function TruncAndFracToIntf(const X: Single; out FractionalPart: Single): Integer;
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: Int32 - the integer part of X.
Remarks:
Splits the floating point number to integer and fractional parts.