JavaScript library to calculate mathematical expressions.
JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
calculate.js
calculate.min.js
index.html

README.md

calculatejs

JavaScript library to calculate mathematical expressions.

how to use ?

  1. Reference to the "calculate.js" file

<script type = "text/javasctipt" src = "calculate.min.js"></script>

2.Use the calculate(expression) function to get the output

eg: calculate("(1+2)/3+4") => 5

demo: https://bibhuticoder.github.io/calculatejs