GithubHelp home page GithubHelp logo

mendixlabs / mendix-math-module Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 2.44 MB

Mendix Math Module - doing complex calculations in Mendix

Home Page: https://appstore.home.mendix.com/link/app/112522/

License: Other

Java 99.45% JavaScript 0.32% SCSS 0.22%
mendix complex-calculations mendix-math mxparser-library java-actions mendix-module

mendix-math-module's Introduction

Apache License Support Studio GitHub release GitHub issues

Math Module for Mendix

Icon

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

screenshot screenshot

Java Actions

Expressions

  • SimpleExpression - calculate a simple expression that uses a formula you define as a String
  • ComplexExpression - calculate a more complex expression that uses Arguments

Function

  • RecursiveFunction - Do you need to calculate f(10) for f(n)=f(n-2)+f(n-1)? A recursive function might help you out

Decimals

  • MoveDecimalPoint - Move a decimal point in a Decimal

Conversion

  • ConvertIntToBaseString - Do you need to represent an Integer (base10) into another form, for example Octal (base8) or Hex (base16)?

Validation

  • 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.

Syntax

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

Libraries used

  • mXparser library
    • Version 4.4.2
    • License: Simplified BSD - Mariusz Gromada
    • link

Adding new Java Actions

You can create new Java Actions using the mXparser library. See API docs.

License

Apache 2

mendix-math-module's People

Contributors

jeltemx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mendix-math-module's Issues

New Version

Hi,

I really like to use this package, but Mendix 9.6 doesn't support the math package, which is based on version 8.

Could you deploy a version of math module where It is possible to use in version 9.6?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.