opposite-number
v1.0.1
Published
Get opposite of a number
Downloads
8
Readme
opposite-number
Get opposite of a number.
Install
npm install --save opposite-number
Usage
const oppositeNumber = require('opposite-number')
const result = oppositeNumber(-100) // -> 100
API
oppositeNumber(number: Number) -> Number
number
(Number) number to get its opposite
License
MIT © Guillermo Lopez