Loading TOC...

MarkLogic 10 Product Documentation
op functions (Arithmetic Expression Functions)

The following functions are used to build arithmetic expressions.

5 functions
Function name Description
op:add This function returns the sum of the specified numeric expressions.
op:divide This function divides the left numericExpression by the right numericExpression and returns the value.
op:modulo This function returns the remainder afer the division of the dividend and divisor expressions.
op:multiply This function multiplies the left numericExpression by the right numericExpression and returns the value.
op:subtract This function subtracts the right numericExpression from the left numericExpression and returns the value.