BETWEEN

BETWEEN returns a bit(1) value that indicates whether x is in the closed interval as defined by a and b.

Read syntax diagramSkip visual syntax diagram
>>-BETWEEN(x,a,b)----------------------------------------------><

x, a, and b
Expressions. They must be either all ORDINAL with the same type or all computational.

BETWEEN(x,a,b) is equivalent to the test (a <= x) & (x <= b). Thus, if any of the arguments are numeric, they must all be REAL.






Published: 23 December 2018