@ilihub/decimal-to-hexadecimal
Version:
Decimal to hexadecimal converter TypeScript library
60 lines (36 loc) • 1.8 kB
Markdown
# @ilihub/decimal-to-hexadecimal
Decimal to hexadecimal converter TypeScript library.


[](https://www.codefactor.io/repository/github/ilihub/npm)
[](https://socket.dev/npm/package/@ilihub/decimal-to-hexadecimal)
## Installation
```bash
# if you're using pnpm
pnpm add @ilihub/decimal-to-hexadecimal
# or, if you're using npm
npm install @ilihub/decimal-to-hexadecimal
# or, if you're using yarn
yarn add @ilihub/decimal-to-hexadecimal
```
## Usage
```javascript
import { DecimalToHexadecimal } from "@ilihub/decimal-to-hexadecimal";
const decimal = 128;
const hexadecimal = DecimalToHexadecimal(decimal);
console.log(hexadecimal);
// Output
// 80
```
## 🛠️ Online Tool ⚡
You can use this npm package as an online tool by clicking on the link provided [👉🏻 here 👈🏻](https://ilihub.tech/tools/decimal-to-hexadecimal)
<!-- sponsors_and_backers_section_start -->
<!-- Please do not edit/update this section manually, it is automatically generated by the `sponsors.yml` workflow -->
## Sponsors & Backers
Support the development of new open-source projects from ilihub through crowdfunding.
The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.

<!-- sponsors_and_backers_section_end -->