# Math Utility Overview

## Applies to

Bridge by Smartsheet

With Bridge math modules, you can manipulate simple values to change them as required within the flow of a conversation.

Add one referenced value to another. • Number: Reference to the number to be added to

### Subtract

Remove one referenced value from another. #### Subtract Fields

• Remove: The amount to be subtracted
• Number: Reference to the number to be subtracted from

### Multiply

Multiply one referenced value by another. #### Multiply Fields

• Multiple: The amount to multiply by
• Number: Reference to the number to be multiplied

### Divide

Divide one referenced value by another. Note that dividing by 0 will return 0. #### Divide Fields

• Divider: The amount to divide by
• Number: Reference to the number to be divided

### Round

Round a referenced value by a required number of decimal places. #### Round Fields

• Round: Number of decimal places to round to
• Number: Reference to the number to be rounded

## Random Number

Pick a random number from a range or pool of numbers. #### Random Number Fields

• Range: Number of decimal places to round to
• Minimum: The minimum value in the number range
• Maximum: The maximum value in the number rage
• Pool: References to the pool of numbers the random number will be generated from

## Sum

Sum an array of numbers together. #### Sum Fields

• Array: A reference to an array
• Path To Number: Name of the field that should be summed up

The image below shows an array with the object field 'Points' to the left. Referencing the whole array and specifying Points in the 'Path To Number' field results in the output to the right. 