@codinasion/binary-to-octal
v1.0.2
Published
Converts binary to octal
Downloads
5
Maintainers
Readme
@codinasion/binary-to-octal
Converts a binary number to an octal number.
Installation
# if you're using pnpm
pnpm add @codinasion/binary-to-octal
# or, if you're using npm
npm install @codinasion/binary-to-octal
# or, if you're using yarn
yarn add @codinasion/binary-to-octal
Usage
import { BinaryToOctal } from "@codinasion/binary-to-octal";
const binary = "10000000";
const octal = BinaryToOctal(binary);
console.log(octal);
// Output
// 200