number_to_hex
v1.0.3
Published
function that takes in a single parameter num and converts it to a hexadecimal string
Downloads
1
Maintainers
Readme
number_to_hex
A package that takes in a single parameter num and converts it to a hexadecimal string
Installation
npm
npm install number_to_hex
yarn
yarn add number_to_hex
Usage
const NumberToHex = require("number_to_hex");
console.log(NumberToHex(5)); //This will output: "0x5"
Contributing
Feel free to make a pull request.
License
ISC
authored by:
Samuel Nzomo