Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Double

A class representation of the BSON Double type.BSON双精度类型的类表示。

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使用TypeDoc生成