import { mongo } from "https://deno.land/x/hex@0.5.15/src/data/deps.ts";
const { Decimal128 } = mongo;
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