1.0.3 • Published 4 years ago

plain-math v1.0.3

Weekly downloads
136
License
MIT
Repository
github
Last release
4 years ago

Simple Calculator

Installation

you can install it by typing npm i plain-math

Guide

You can use it like this

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

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);
1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago