The constructor of the BaseConverter
class.
The base number.
Optional parameters, for adjusting conversion rules.
Readonly
baseThe base number
Readonly
propertiesThe properties of the class, set by the options of the constructor
Decode an encoded number.
An encoded number as a NumeralOutput
object in the instance base.
The decoded number.
Encodes the specified number according to the instance base and properties.
The number to encode, as a number, string or Decimal type.
Optional
options: BaseConverterOptionsThe options to use as conversion rules.
The encoded number as a NumeralOutput
object.
Generated using TypeDoc
The class from which to create a
BaseConverter
instance for encoding to theNumeralOutput
.