Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Double

A class representation of the BSON Double type.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

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

value: number

Accessors

  • get _bsontype(): "Double"
  • Returns "Double"

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