1.0.4 • Published 4 years ago
arithmetic-operators v1.0.4
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