1.0.0 • Published 3 years ago

plain-math.js v1.0.0

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

Simple Math!

Installation

you can install it by typing npm i plain-math.js

Guide

You can use it like this

const calc = include('plain-math.js');

let result = calc.add(2, 3);

console.log(result);

All methods

Add

calc.add(x, y);

Subtract

calc.sub(x, y); 

Divade

calc.div(x, y);

Multiply

calc.multi(x, y) 

Cosinus

calc.cos(x); 

Tanget

calc.tan(x); 

Absolute

calc.abs(x);