Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

baseCurrency: Currency
denominator: BN
numerator: BN
quoteCurrency: Currency
scalar: Fraction

Accessors

  • Returns Fraction

  • get quotient(): BN
  • Returns BN

  • Returns Fraction

Methods

  • toFixed(decimalPlaces?: number, format?: object, rounding?: Rounding): string
  • Parameters

    • decimalPlaces: number = ...
    • Optional format: object
    • Optional rounding: Rounding

    Returns string

  • toSignificant(significantDigits?: number, format?: object, rounding?: Rounding): string
  • Parameters

    • significantDigits: number = ...
    • Optional format: object
    • Optional rounding: Rounding

    Returns string