# GLU Formulas

As with GLU Functions and GLU Formulas are available for use in derived parameters as well as request and response handlers.

Note: FORMULAs involve the use of mathematical calculations and are always prefixed with the ‘=’ symbol. FUNCTIONs are not preceded by any symbol.

This formula can be used to SUM a set of values (Integer or Float).

If a Derived Parameter is created with this formula it will return the SUM of the Values.

Example

```formulaSum =\${amountOne}+\${amountTwo}+\${amountThree} (as shown in above image)
amountOne = 2
amountTwo = 3
amountThree = 5
formulaSum = 10

GLU Auto-Test Reference: Sticky Tests: 1.31/1.34               App: Sticky Validation >> Transaction: Formulas & Functions >> Formula: Formula SUM
```

# Multiplication Formula

This formula can be used to MULTIPLY a set of values (Interger or Float).

If a Derived Parameter is created with this formula it will return the PRODUCT of the Values.

Example

```formulaMultiply =\${amountOne}*\${amountTwo}*\${amountThree} (as shown in above image)

amountOne = 2
amountTwo = 3
amountThree = 5
formulaMultiply = 30
```

# Division Formula

This formula can be used to DIVIDE one value (Integer or Float) by another.

If a Derived Parameter is created with this formula it will return the QUOTIENT of the Values.

Example

```formulaDivide =\${amountOne}/\${amountTwo}

amountOne = 550
amountTwo = 100
```

### Need Support?

Can't find the answer you're looking for?
Contact Support
Fill the form and we’ll contact you shortly

I agree with 