1.0.4 • Published 4 years ago

arithmetic-operators v1.0.4

Weekly downloads
18
License
MIT
Repository
-
Last release
4 years ago

Arithmetic Operators

The basic arithmetic operations for real numbers are addition, subtraction, multiplication, and division.

Install

$ npm install arithmetic-operators

Usage

var arithmetic = require('arithmetic-operators')

arithmetic.add(5,6) // => 11

API

arithmetic.add(num1, num2) -> number num1/num2 Required Type: number

arithmetic.subtract(num1, num2) -> number num1/num2 Required Type: number

arithmetic.multiply(num1, num2) -> number num1/num2 Required Type: number

arithmetic.divide(num1, num2) -> number num1/num2 Required Type: number

arithmetic.modulo(num1, num2) -> number num1/num2 Required Type: number

Keywords

add
divide
multiply
modulo
sum
1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago