Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Decimal

A type for arbitrary precision, non-negative decimals.

Instances of this class are immutable.

Hierarchy

  • Decimal

Index

Properties

atomics

atomics: string

fractionalDigits

fractionalDigits: number

Methods

plus

toFloatApproximation

  • toFloatApproximation(): number

toString

  • toString(): string

Static fromAtomics

  • fromAtomics(atomics: string, fractionalDigits: number): Decimal

Static fromUserInput

  • fromUserInput(input: string, fractionalDigits: number): Decimal

Generated using TypeDoc