Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Double

A class representation of the BSON Double type.

Hierarchy

  • Double

Index

Constructors

Properties

Methods

Constructors

constructor

  • 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

_bsontype: "Double"

value

value: number

Methods

inspect

  • inspect(): string
  • Returns string

valueOf

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

    Returns number

    returns the wrapped double number.

Generated using TypeDoc