Skip to main content

Mathematical Functions
Mathematical Functions

This article explains how you can add mathematical expressions to rule conditions. It also gives you an example knowledge map so you can explore mathematical expressions in the Rainbird Studio.

Mathematical functions are transformative expressions that change or transform numbers/number instances, and are used in rules. 

This article will demonstrate what the different functions do by themselves, but multiple functions can be combined in expressions, and the values generated by the functions can also be used in further expressions. You will need to use brackets if combining multiple functions, to ensure Rainbird calculates a value correctly. 

Click on a subtopic below for more information:

  1. Mathematical Functions - Build Example
  2. Mathematical Functions - Downloadable Model
  3. Mathematical Functions - Downloadable List
0 followers
0 questions
0 posts

You will need to register to be able to post or comment on a topic.  

Mathematical Functions - Downloadable Model

Query and Results

When using the below RBLang, please run the query on the relationship ‘outcome’ and select which function you would like to see in action.

Continue to Mathematical Functions - Downloadable List  ➡️

All mathematical functions PDF file

Attached to this post is a list of all current mathematical functions you can use in Rainbird Studio.

Mathematical Functions - Build Example

Mathematical expressions are used in rule conditions where specific logic and/or arithmetic is required. 

The below example shows how to use the add expression, +, to add two values together. 

'add' expression in a rule. The expression will add the values of %DIGIT_1 and %DIGIT_2 together

Continue with Mathematical Functions - Downloadable Model ➡️

.menu.bell.icon {color: #1c083b;}