js-calculation

2.0.7 • Public • Published

calculation.js@2.0.7

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.7

Package Sidebar

Install

npm i js-calculation

Weekly Downloads

2

Version

2.0.7

License

MIT

Unpacked Size

10.4 kB

Total Files

10

Last publish

Collaborators

  • notescript