You are viewing content for 5.1 | 5.0 | 4.9 | 4.8 | 4.7 | 4.6 | 4.5 | 4.4 | 4.3 | Previous Releases


between

Returns whether or not a given value is within a range of values.

Example

Determine whether AMOUNT_SOLD is between 1000 and 2000.

between(Sales_Acme.Sales.AMOUNT_SOLD, 1000, 2000)

Syntax

between(double expr value, double expr min, double expr max)
  • value : value to test
  • min : lower limit of test range
  • max : upper limit of test range

Returns

bool

Notes

Function between determines whether the value resulting from evaluating value fits within the range defined by evaluating the min and max expressions. The range is inclusive of the boundary values.


© Incorta, Inc. All Rights Reserved.