Class Double

A class representation of the BSON Double type.

Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

  • 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

  • Prints a human-readable string of BSON value information If invoked manually without node.js.inspect function, this will default to a modified JSON.stringify

    Parameters

    • Optional depth: number
    • Optional options: unknown
    • Optional inspect: InspectFn

    Returns string

  • Returns number

  • Parameters

    • Optional radix: number

    Returns string

  • Access the number value.

    Returns number

    returns the wrapped double number.

Generated using TypeDoc