You are here: Symbol Reference > Math387 Namespace > Functions > Math387.LimitRange Function
MtxVec VCL
ContentsIndex
PreviousUpNext
Math387.LimitRange Function

Limit the range X.

Pascal
procedure LimitRange(const Low: double; var X: double; const High: double); overload;
Parameters 
Description 
Low 
Lower bound in [Low,High]. 
Modify x to lie within closed interval [Low,High]. 
High 
Upper bound in [Low,High]. 

Change X to stay within [Low,High] closed interval.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!