import { Bson } from "https://deno.land/x/mongo@v0.31.1/mod.ts";
const { Decimal128 } = Bson;
A class representation of the BSON Decimal128 type.
Methods
toExtendedJSON(): Decimal128Extended
toJSON(): Decimal128Extended
toString(): string
Create a string representation of the raw Decimal128 value
[Symbol.for("Deno.customInspect")](): string
Static Methods
fromExtendedJSON(doc: Decimal128Extended): Decimal128
fromString(representation: string): Decimal128
Create a Decimal128 instance from a string representation