xevurah-math-app

1.1.0 • Public • Published

Math Operations

Module to make simple math operations

Installation

Follow this instructions

npm install <xevurah-math-app> 

Usage

Follow this instructions

// Import module
const m = require('.');

//Sum
Console.log(m.sum(1,2)); => 3

Console.log(m.sum(1,34)); => 35

//Subtraction
Console.log(m.substraction(1,2)); => -1

Console.log(m.substraction(1,34)); => -33

//Multiplication
Console.log(m.multiplication(2,2)); => 4

Console.log(m.multiplication(2,35)); => 70

//Division
Console.log(m.division(2,2)); => 1

Console.log(m.division(2,35)); => 0.0571428571428571

Package Sidebar

Install

npm i xevurah-math-app

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

3.98 kB

Total Files

4

Last publish

Collaborators

  • xevurah