math.in.range

Syntax

b := math.in.range(nlower,nval,nupper)

Find if the value falls in the bounds provided (inclusive).

Return true if the value nval falls within the bounds given by n1ower and nupper. These values can be integers, floats, or vectors. If they are vectors, then each component must fall within the bounds.

Returns:

b - true if nval falls within the bounds.

Arguments:

nlower - the lower range of valid values nvalue - the value to check nupper - the upper range of valid values