mingo
Version:
MongoDB query language for in-memory objects
7 lines (6 loc) • 305 B
TypeScript
/**
* 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.
* This is just an alias for `$toDouble` in this library.
*/
export declare const $toDecimal: import("../../../types").ExpressionOperator;