@codinasion/decimal
v1.0.2
Published
A collection of useful TypeScript functions and utilities for converting decimal to other number systems.
Downloads
4
Maintainers
Readme
@codinasion/decimal
A collection of useful TypeScript functions and utilities for converting decimal to other number systems.
Installation
# if you're using pnpm
pnpm add @codinasion/decimal
# or, if you're using npm
npm install @codinasion/decimal
# or, if you're using yarn
yarn add @codinasion/decimal
Usage
import { DecimalToBinary } from "@codinasion/decimal";
const decimal = 128;
const binary = DecimalToBinary(decimal);
console.log(binary);
// Output
// 10000000