Formulas are used to perform mathematical operations within app. It works at the FRONT of you app. Mobsted platform supports all arithmetical math functions and all MathJS formulas.
You can use Math formulas AT ANY ELEMENT on the platform. For example, on screen, in values, backend names, variables, conditions to hide/show, in actions on elements,
You can include Hashtags references to perform calculations with any data from any part of platform and build math expressions with it.
Example:
=( #hashtag1# + #hashtag2# )=
OR
=( 3 + #hashtag2# )=
Use case:
In the example below we can see that the sum of two fields is dynamically updated when we enter the new value to the one of the inputs.
The rest can be found here - https://mathjs.org/docs/index.html
Action | Example |
SUM / Multiply | =( #hashtag1# + #hashtag2# )= / =( 5 * 2 )= |
Subtract / Divide | =( #hashtag1# - #hashtag2# )= / =( 6 / 2 )= |
Modulus | =( #hashtag1# % #hashtag2# )= |
Exponentiation | =( #hashtag1# - #hashtag2# )= ^ =( #hashtag1# / #hashtag2# )= |
Square root | =( sqrt(#hashtag1#) )= |
Factorial | =( #hashtag1#! )= |
You can also check the set up of some of the above functions on screen - 4 Math expressions & operations in Demo App in your profile.
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|