Do you feel the need to do more complex calculations in Mendix, but see a lack in capabilities in your Microflows? No worries, the Math Module is here to help you out. This uses the excellent mXparser libary to extend your workflows with more complex calculations.
See a demo in action HERE!
I am looking for skilled Mendix+Java developers to help me make this even greater. The current set of Java actions are very flexible, but we can make more complex and dedicated actions available in the future. Feel free to contact me on Gitthub or through my Mendix Developer profile
- SimpleExpression - calculate a simple expression that uses a formula you define as a String
- ComplexExpression - calculate a more complex expression that uses Arguments
- RecursiveFunction - Do you need to calculate
f(10)
forf(n)=f(n-2)+f(n-1)
? A recursive function might help you out
- MoveDecimalPoint - Move a decimal point in a Decimal
- ConvertIntToBaseString - Do you need to represent an Integer (base10) into another form, for example Octal (base8) or Hex (base16)?
- ValidateComplexExpression - If you are saving a complex expression, for example for later use, you might want to validate this beforehand. Also, over association you can find the used arguments for this expression.
The expressions and functions you write can use a whole range of built-in functions and constants. These can be found at https://github.com/mariuszgromada/MathParser.org-mXparser#built-in-tokens
- mXparser library
- Version 4.4.2
- License: Simplified BSD - Mariusz Gromada
- link
You can create new Java Actions using the mXparser library. See API docs.
Apache 2