@codinasion/decimal-to-hexadecimal
Converts a decimal number to hexadecimal.
Installation
# if you're using pnpm
pnpm add @codinasion/decimal-to-hexadecimal
# or, if you're using npm
npm install @codinasion/decimal-to-hexadecimal
# or, if you're using yarn
yarn add @codinasion/decimal-to-hexadecimal
Usage
import { DecimalToHexadecimal } from "@codinasion/decimal-to-hexadecimal";
const decimal = 128;
const hexadecimal = DecimalToHexadecimal(decimal);
console.log(hexadecimal);
// Output
// 80
Sponsors & Backers
Made with 💖 by Codinasion