dykyi-roman/math-parser

1.0 2017-07-17 09:08 UTC

This package is not auto-updated.

Last update: 2024-06-09 01:58:30 UTC


README

Download image from remote host

Installation

Composer

The preferred way to install this extension is through Composer.

Either run

php composer.phar require dykyi-roman/math-parser "dev-master"

or add

"dykyi-roman/math-parser": "master"

to the require section of your composer.json

Usage

    $mp = new mathParser();
    $result = $mp->calc("1+2-(2*2)");

Author

Dykyi Roman, e-mail: mr.dukuy@gmail.com