import { type mongoose } from "https://deno.land/x/mongoose@6.12.9/types/expressions.d.ts";
const { ToDecimal } = mongoose.Expression;
Properties
$toDecimal: Expression
Converts a value to a decimal. If the value cannot be converted to a decimal, $toDecimal errors. If the value is null or missing, $toDecimal returns null.