Skip to main content
Module

x/mongo/mod.ts>Bson.Double

MongoDB driver for Deno
Extremely Popular
Go to Latest
class Bson.Double
extends BSONValue
import { Bson } from "https://deno.land/x/mongo@v0.31.2/mod.ts";
const { Double } = Bson;

A class representation of the BSON Double type.

Constructors

new
Double(value: number)

Create a Double type

Properties

readonly
_bsontype: "Double"
value: number

Methods

inspect(): string
toJSON(): number
toString(radix?: number): string
valueOf(): number

Access the number value.