hexadecimal-to-decimal
v1.0.2
Published
A node.js package to convert hexadecimal to decimal numbers.
Downloads
97
Maintainers
Readme
hexadecimal-to-decimal
hexadecimal-to-decimal is a simple nodejs package to convert hexadecimal to decimal easily with just one line of code.
Installation
npm i hexadecimal-to-decimal --save
Usage
Convert with just one line of code
- Convert hexadecimal to decimal with just one line of code. For one of my projects, I had to create a tool to convert hexadecimal to decimal so I have created this one. To get the perfect conversion of hexadecimal numbers, I have used Bignumber.js library.
Hexadecimal to decimal conversion:
var decimal = require('hexadecimal-to-decimal')
console.log(decimal.decimal("10"));