Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Double

A class representation of the BSON Double type.

Hierarchy

  • Double

Index

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

toJSON

  • toJSON(): number
  • Returns number

toString

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

    • Optional radix: number

    Returns string

valueOf

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

    Returns number

    returns the wrapped double number.

Generated using TypeDoc