js-calculation

2.0.5 • Public • Published

calculation.js@2.0.5

matters needing attention

Due to release errors, js-accuracy is changed to js-calculation from now on!

This only applies to small projects, and if you're building a large project, recommend that you use math.js to meet your needs!

You need to use Babel with it

install calculation.js

 
npm install js-calculation
 

use calculation.js

 
import calc from 'js-calculation'
 
calc('0.1 0.1 *') // 0.01
calc('0.1 0.1 * 0.1 -') // -0.09
calc('0.1 0.1 * 0.1 - 0.1 0.1 * +') // -0.08
 

mark

License

MIT

calculation.js@2.0.5

Install

npm i js-calculation

DownloadsWeekly Downloads

8

Version

2.0.5

License

MIT

Unpacked Size

7.43 kB

Total Files

10

Last publish

Collaborators

  • notescript