Chapter 3 Configuring Advanced Expressions: Getting Started 51
num <= num Determine if the value of the expression on the left of the operator is
less than or equal to the value of the expression on the right
Operations on numbers of data type “integer”
number.ADD
(integer)Returns a number after adding the integer argument to the number
value.
Following is an example:
http.req.content_length.add(10)
number.SUB
(integer)Returns a number after subtracting the integer argument from the
number value.
Following is an example:
http.req.header.length.sub(10)
number.DIV
(integer)Returns a number after dividing the number value by the integer
argument.
Following is an example:
http.req.content_length.div(2)
number.MUL
(integer)Returns a number after multiplying the number by the integer
argument value.
Following is an example:
http.req.content_length.mul(2)
number.
BETWEEN
(lower_integer,
higher_integer)
Returns a Boolean TRUE if the number value is greater than or
equal to the lower_integer argument and less than or equal to the
higher_integer argument.
Following is an example:
http.req.content_length.between(5, 500)
number.EQ
(integer)Return a Boolean TRUE if the number value is equal to the integer
argument.
Following is an example:
http.req.content_length.eq(50)
number.NE
(integer)Returns a Boolean TRUE if the value designated by number is not
equal to the argument.
Following is an example:
http.req.content_length.ne(50)
number.GE
(integer)Return a Boolean TRUE if the number value is greater than or equal
to the integer argument.
Following is an example:
http.req.content_length.ge(500)
Arithmetic Operations for Compound Advanced Expressions
Operator Description