BigDecimal tab Syntax Buttons
The BigDecimal tab syntax buttons indicate all the ways you can add a BigDecimal to an expression.
Clicking on one of the buttons adds the indicated syntax (minus the question marks) to your expression. In the spaces left by the question marks, enter the appropriate BigDecimal operand or literal.
Note | All of the BigDecimal syntax listed in table is specific to the Cisco Unified CCX Expression Language. The use of DB to specify a BigDecimal and the use of math operators on BigDecimals is specific to the Expression Language and is not a part of the Java language syntax. |
Syntax Button |
Name |
Type |
Description |
---|---|---|---|
?DB |
literal |
BigDecimal |
Enters a BigDecimal literal. See Floating-Point Literals. For example:
|
? + ? |
addition |
arithmetic |
Adds two operands. |
? - ? |
subtraction |
Subtracts the second operand from the first. | |
? * ? |
multiplication |
Multiplies two operands. | |
? / ? |
division |
Divides the first operand by the second. | |
? % ? |
remainder |
Returns the remainder of the first operand divided by the second. | |
? *= ? |
multiply and assign |
assignment The operand on the left of the assignment statement (the first operand) can be any type of variable, including an array component or a public class attribute. |
Multiplies the first operand by the second and assigns the result to the first operand. |
? /= ? |
divide and assign |
Divides the first operand by the second and assigns the result to the first operand. | |
? %= ? |
remainder and assign |
Divides the first operand by the second operand and assigns the remainder to the first operand. | |
? += ? |
add and assign |
Adds the first operand to the second operand and assigns the result to the first operand. | |
? -= ? |
subtract and assign |
Subtracts the second operand from the first operand and assigns the result to the first operand. | |
+? |
unary plus |
unary |
The positive value of the operand. |
-? |
unary minus |
The negative value of the operand. |