Better library for evaluating math expressions stored on a String

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/androiddev

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • exp4j

    A tiny math expression evaluator for the Java programming language

    I've already found on the internet a one called exp4j capable to do that but I'd like to know other too. What do you get used to use for solving issues like this?

  • ExprTK

    C++ Mathematical Expression Parsing And Evaluation Library https://www.partow.net/programming/exprtk/index.html

    I have used https://github.com/ArashPartow/exprtk for this task, since it is cpp we also used on IOS, however in android we changed to exp4j since it requires less space and did the same job.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts