Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mongo/mod.ts>Bson.Decimal128.fromString

MongoDB driver for Deno
Extremely Popular
Go to Latest
method Bson.Decimal128.fromString
Re-export
import { Bson } from "https://deno.land/x/mongo@v0.31.1/mod.ts";
const { Decimal128 } = Bson;

Create a Decimal128 instance from a string representation

Parameters

representation: string
  • a numeric string representation.

Returns

Decimal128