npm-project-1a-math

1.1.0 • Public • Published

Operaciones matematicas

Modulo para realizar operaciones matematicas simples

instalación

npm install npm-project-1a-math

Uso

// importar el modulo
const m = require('.')

// Suma
console.log(m.suma(1, 2)) => 3

// Resta
console.log(m.resta(1, 12))  => 13

// Multiplicacion
console.log(m.multiplicacion(1, 5))  => 5

// Division
console.log(m.division(1, 2)) => 0.5

/npm-project-1a-math/

    Package Sidebar

    Install

    npm i npm-project-1a-math

    Weekly Downloads

    0

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    3.99 kB

    Total Files

    5

    Last publish

    Collaborators

    • leojm27