Skip to content

A package that takes in a single parameter num and converts it to a hexadecimal string

Notifications You must be signed in to change notification settings

4SAMU/number_to_hex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

View the code in Github

About

A package that takes in a single parameter num and converts it to a hexadecimal string

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published