Docs
Getting Started

Docs

Getting Started

Examples

Installation

Node

Browser

Num

Constructor

toBase

toString

NumOptions

NumOptions

NumOptions is used inside of Num's Constructor to give extra information about a number. They are especially important when converting a non-base 10 number to another base.

NameDescriptionTypeExample
numThe number being wrapped by Num.String/Number"1a"
base?The base of num.Number16