2.0.0 • Published 5 years ago

awesome-calculator v2.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

awesome calculator

npm.io

introduce

this kit resolve some awful operating problem, like "0.1 + 0.2" etc.

warn

It is implemented with ES6, so you must use it in environment that support ES6

in node

npm install awesome-calculator --save
var cal = require('awesome-calculator')

in browser

<script src="https://unpkg.com/awesome-calculator"></script>

API

  1. mul multiplied operating, you can pass number or string
var cal = require('awesome-calculator')
console.log(cal.mul('12.32', '7'))
  1. plus plus operating, you can pass number or string
var cal = require('awesome-calculator')
console.log(cal.plus('0.1', '0.2'))

License

MIT

2.0.0

5 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago