Overload List
Overload 1: function EnsureRange(const Low: Double; const X: Double; const High: Double): Double;
Limits the value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Low | Double | |
| 2 | X | Double | |
| 3 | High | Double |
Returns: Double - Low if X is smaller then Low and High if X is bigger then High.
Overload 2: function EnsureRange(const Low: Integer; const X: Integer; const High: Integer): Integer;
Limits the value.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Low | Integer | |
| 2 | X | Integer | |
| 3 | High | Integer |
Returns: Int32
Remarks:
Parameters can be integers.
Overload 3: function EnsureRange(const Low: Int64; const X: Int64; const High: Int64): Int64;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Low | Int64 | |
| 2 | X | Int64 | |
| 3 | High | Int64 |
Returns: Int64
Overload 4: function EnsureRangef(const Low: Single; const X: Single; const High: Single): Single;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Low | Single | |
| 2 | X | Single | |
| 3 | High | Single |
Returns: Single