Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Double

A class representation of the BSON Double type.

Hierarchy

  • Double

Index

Constructors

  • new Double(value: number): Double
  • Create a Double type

    Parameters

    • value: number

      the number we want to represent as a double.

    Returns Double

Properties

_bsontype: "Double"
value: number

Methods

  • inspect(): string
  • Returns string

  • toJSON(): number
  • Returns number

  • toString(radix?: number): string
  • Parameters

    • Optional radix: number

    Returns string

  • valueOf(): number
  • Access the number value.

    Returns number

    returns the wrapped double number.

Generated using TypeDoc