2.1.1 • Published 2 years ago

super-simple-mathjs v2.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

super-simple-mathjs


Installation:

npm i super-simple-mathjs

#or

yarn add super-simple-mathjs

Usage examples

Plus

const supermathjs = require("super-simple-mathjs");
let myPlus = supermathjs.plus(6); // return 12

Minus

const supermathjs = require("super-simple-mathjs");
let myPlus = supermathjs.minus(6); // return 0

Multiply

const supermathjs = require("super-simple-mathjs");
let myPlus = supermathjs.multiply(36); // return 4

Divide

const supermathjs = require("super-simple-mathjs");
let myPlus = supermathjs.divide(6); // return 1

Pow

const supermathjs = require("super-simple-mathjs");
let myPlus = supermathjs.degreePow(6); // return 36

Sqrt

const supermathjs = require("super-simple-mathjs");
let myPlus = supermathjs.degreeSqrt(6); // return 216

Evevn or odd number

const supermathjs = require("super-simple-mathjs");
let evenOrOdd = supermathjs.evenOdd(8); // return Even Number
2.1.1

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago