Introduction
This article explains how to use the Custom function for calculated inputs in the admin panel Object settings. Custom formulas let you define your own equations using up to two parameters.
1 Parameters and Variables
Custom formulas support up to two parameters, selected from the Parameter1 and Parameter2 dropdown menus.
In the formula, these parameters are represented by the variables p1 and p2 respectively. For example, a formula that divides Parameter1 by 1000 would be written as p1/1000.
Formulas follow standard mathematical rules and can be fully adapted to your specific needs. The following operators are available:
Operator | Function | Example |
| Addition |
|
| Subtraction |
|
| Multiplication |
|
| Division |
|
| Brackets (grouping) |
|
1.1 Example Formula
The image below shows an example formula with the order of operations marked step by step:
π‘ Tip: For more information about other available input functions such as Linear, P1+P2, and Linear++, see Configuration of inputs in Object settings.