decimal-to-base

1.0.2 • Public • Published

Decimal to Base

How to use

First, install decimal to base - $ npm i decimal-to-base

Then require it in your code

var decimal_to_base = require('decimal-to-base')

The syntax for using this library is as follows -

decimal_to_base(number, base)

Example - Convert 25 to base 5

decimal_to_base(25, 5) //output is 100

Package Sidebar

Install

npm i decimal-to-base

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

1.05 kB

Total Files

3

Last publish

Collaborators

  • mrslurpyboi