Oracle Waveset 8.1.1 Deployment Reference

Arithmetic Expressions

Use the following functions to perform arithmetic processing within expressions.

add Function

Performs integer summation over the values of all arguments. Arguments that are not integers are coerced to integers.

Example

The following expression results in an integer (42).

<add> <i>40</i> <i>1</i> <s>1</s> </add>

div Function

Performs successive integer division over the values of all arguments. Arguments that are not integers are coerced to integers.

Example

The following expression results in an integer (42).

<div> <i>84</i> <i>2</i> </div>

mod Function

Performs successive integer modulo over the values of all arguments. Arguments are coerced to integers. Arguments of type null are ignored.

Example

The following expression results in an integer (42).

<mod> <i>142</i> <i>100</i> </mod>

mult Function

Performs successive integer multiplication over the values of all arguments. Arguments that are not integers are coerced to integers.

Example

The following expression results in an integer (42).

<mult> <i>7</i> <i>3</i> <i>2</i> </mult>

sub Function

Performs successive integer subtraction over the values of all arguments. Arguments that are not integers are coerced to integers.

Example

The following expression results in an integer (42).

<sub> <i>50</i> <i>6</i> <i>2</i> </sub>