Name
Limit -- limit the range of a number (V2.0)
Synopsis
n = Limit(x, low, high)
Function
Limits the range of x. If x is greater than or equal to low and less than or equal to high, the value of x is returned. If x is less than low, then low is returned. If x is greater than high, then high is returned.

This function ensures that the value of x stays in the boundaries defined by low and high.

Inputs
x
value to examine
Results
n
result of limit operation

Show TOC