[Overview][Constants][Types][Classes][Procedures and functions] | Reference for unit 'math' (#rtl) |
Change value to it falls in specified range.
Source position: line 0
function EnsureRange( |
const AValue: Integer; |
const AMin: Integer; |
const AMax: Integer |
):Integer; |
const AValue: Int64; |
const AMin: Int64; |
const AMax: Int64 |
):Int64; |
EnsureRange returns Value if AValue is in the range AMin..AMax. It returns AMin if the value is less than AMin, or AMax if the value is larger than AMax.
|
Check whether value is in range. |
No notes exist for this page yet.