Options
All
  • Public
  • Public/Protected
  • All
Menu

A class representation of the BSON Decimal128 type.

Hierarchy

Index

Properties

_bsontype: "Decimal128"

Constructors

  • Parameters

    • bytes: string | <internal>.Buffer

      a buffer containing the raw Decimal128 bytes in little endian order, or a string representation as returned by .toString()

    Returns <internal>.Decimal128

Methods

  • Create a Decimal128 instance from a string representation

    Parameters

    • representation: string

      a numeric string representation.

    Returns <internal>.Decimal128

  • toString(): string
  • Create a string representation of the raw Decimal128 value

    Returns string

  • inspect(): string
  • Returns string

Generated using TypeDoc