base-convert
v0.0.3
Published
hex2dec,dec2hex e.g.
Downloads
13
Readme
base-convert
- convert between hex and dec(signed).
Installation
$ npm install base-convert
Features
- dec2hex
- hex2dec
Useage
> var bc = require('base-convert');
> bc.hex2dec('ff');
'255'
> bc.dec2hex(65535);
'FFFF'