function IntToDouble(const X: Integer): Double;
Converts an integer to double.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | Integer |
Returns: Double - X as a double. Delphi's / is always real division, so this conversion is redundant natively; it is required where BOTH operands of a division are integers, because the C# translation of / follows C# rules and would truncate. Named to match IntToSingle.