@codinasion/binary-to-octal
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@codinasion/binary-to-octal

Converts a binary number to an octal number.

NPM Version Downloads LICENSE

rainbow hr

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
rainbow hr

Usage

import { BinaryToOctal } from "@codinasion/binary-to-octal";

const binary = "10000000";

const octal = BinaryToOctal(binary);
console.log(octal);

// Output
// 200
rainbow hr

Sponsors & Backers

Sponsors

rainbow hr

Made with 💖 by Codinasion

rainbow hr

Package Sidebar

Install

npm i @codinasion/binary-to-octal

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

5.18 kB

Total Files

5

Last publish

Collaborators

  • harshraj8843