Summary
Limits the value.
Unit
Math387
Declaration
Function EnsureRange(const Low: integer; const X: integer; const High: integer): integer;
Description
Parameters can be integers.
Declaration
Function EnsureRange(const Low: TSample; const X: TSample; const High: TSample): TSample;
Description
Returns Low if X is smaller then Low and High if X is bigger then High.
| Copyright 2008 Dew Research |
http://www.dewresearch.com