Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
method Bson.Decimal128.fromString
Re-export
import { Bson } from "https://deno.land/x/model@v1.2/dependencies/mongo.ts";
const { Decimal128 } = Bson;

Create a Decimal128 instance from a string representation

Parameters

representation: string
  • a numeric string representation.