Rules - Mathematical Functions -->

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. 

The RBLang below will generate a map that uses the different expressions mentioned in the article. Click on ‘Export .rbird’ to download the knowledge map, or ‘copy RBLang’ and paste the code directly into Rainbird.

Query and Results

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

Article Feedback form
Did you find this article useful?

Version 1.01 – Last Update: 24/03/2021