Math Handlers in Reachware Studio are predefined functions used to perform calculations, round numbers, and format numerical values during the mapping process. These handlers enable you to perform mathematical operations without writing custom code.
Accessing Math Handlers
Click on any destination field in the mapping panel
A pop-up window opens titled "MATH HANDLER"
You'll see two sections:
- Handlers — Available math functions
- Operators — Mathematical operators (+, -, *, /, %, <, >, etc.)

Available Math Handlers
sum()
Returns the total sum of all numeric values provided.
Example
average()
Returns the average value of numeric values in an array.
Example
ceil()
Returns the smallest integer greater than or equal to the specified number (rounds up).
Example
floor()
Returns the largest integer less than or equal to the specified number (rounds down).
Example
round()
Rounds a number to the nearest integer. If the fractional part is 0.5 or greater, it rounds up; otherwise, it rounds down.
Example
round(3.2) = 3
max()
Returns the largest value among the provided numbers or within an array.
Example
min()
Returns the smallest value among the provided numbers or within an array.
Example
formatNumber()
Converts a numeric value into a string, formatted according to specified rules.
Example
= 123,456,789.000
abs()
Returns the absolute (positive) value of a number.
Example
Operators
Arithmetic Operators
| Operator | Description | Example |
|---|---|---|
| + | Addition | 2 + 3 = 5 "Hello" + " World" = "Hello World" |
| - | Subtraction | 7 - 4 = 3 |
| * | Multiplication | 4 * 5 = 20 |
| / | Division | 10 / 2 = 5 |
Comparison Operators
| Operator | Description | Example |
|---|---|---|
| < | Less than | 3 < 5 = true |
| > | Greater than | 6 > 2 = true |
| <= | Less than or equal | 4 <= 4 = true |
| >= | Greater than or equal | 5 >= 3 = true |
| == | Equal (with type conversion) | 5 == "5" = true |
| === | Strictly equal (no type conversion) | 5 === "5" = false |
| != | Not equal (with type conversion) | 5 != "6" = true |
| !== | Strictly not equal | 5 !== "5" = true |
Related Topics
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article