arithmetic-operators
v1.0.4
Published
it involves all the operations such as Addition, Subtraction, Multiplication, Division and Modulo
Downloads
6
Readme
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