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