mathjs-axure
v1.2.0
Published
A Simple Math NPM Package Made by Axure.
Downloads
3
Maintainers
Readme
Features
- Addition, Subtraction, Multiplication, Division, Rounding and Fractions!
Examples
const { sum } = require('mathjs-axure')
console.log(sum(1, 2)) // returns 3
const { subtract } = require('mathjs-axure')
console.log(subtract(2, 1)) // returns 1
const { multiply } = require('mathjs-axure')
console.log(multiply(2, 1)) // returns 2
const { divide } = require('mathjs-axure')
console.log(divide(3, 5)) // returns 0.6
const { round } = require('mathjs-axure')
console.log(round(3.4)) // returns 3
To Do
- Add Support to Multiply, Divide, Add and Subtract More than Two Numbers
Notes
- Use Commas and Not the Symbol ( + - * / )
- Previous Versions Will Not Work (1.0.0 - 1.0.4)