@codinasion/decimal-to-hexadecimal
v1.0.2
Published
Converts decimal numbers to hexadecimal numbers
Downloads
3
Maintainers
Readme
@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