1.1.0 • Published 4 years ago
@toadless/math.x v1.1.0
Math.X
Math.X is a simple library made by toadless for adding, subtracting, multiplying, and dividing.
Installation
Use the package manager npm to install mathx.
npm i @toadless/math.x
Usage
const Math = require('@toadless/math.x')
const math = new Math.Math(<number1>, <number2>)
// There are different ways to use it.
// You can add number1 to number2 or multiply or
// subtract or divide.
/*Add*/
math.add()
/*Subtract*/
math.subtract()
/*Mulitply*/
math.multiply()
/*Divide*/
math.divide()