GithubHelp home page GithubHelp logo

langleyfoxall / math_eval Goto Github PK

View Code? Open in Web Editor NEW
41.0 3.0 7.0 15 KB

✖️➕➖➗ `math_eval` safely evaluates mathematical expressions

License: GNU Lesser General Public License v3.0

PHP 100.00%
mathematics eval php-library math-eval math helper-functions

math_eval's Issues

Problem with simple calcul

Hi,

I have a problem with a simple calcul :

math_eval("0.37+0.31-0.68"), the result is "0" but the math_eval function return "-1.1102230246252E-16"

Have you an idea of the problem ?

Thanks

Example code misses 'require'

The example code misses the mandatory require:
require 'vendor/autoload.php';
The code does not run as written in the example.

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.