-
See Also
- Formats
- BSON
-
- Functions
- MongoCollectionInsert
- Tech Notes
-
-
See Also
- Formats
- BSON
-
- Functions
- MongoCollectionInsert
- Tech Notes
-
See Also
BSONDecimal128[num]
is an object that represents an Object ID in the BSON format.


BSONDecimal128
BSONDecimal128[num]
is an object that represents an Object ID in the BSON format.
Details and Options
- To use BSONDecimal128, you first need to load MongoLink using Needs["MongoLink`"].
- BSONDecimal128 is a special type of the "BSON" format.
- The BSONDecimal128 is a 128-bit IEEE 754-2008 decimal floating point type. It supports 34 decimal digits of precision.
- Normal[BSONDecimal128[num]] returns num.
Examples
open all close allBasic Examples (1)
Create a BSONDecimal128 from a number:
Use Normal to get back the underlying number:
Tech Notes
Text
Wolfram Research (2019), BSONDecimal128, Wolfram Language function, https://reference.wolfram.com/language/MongoLink/ref/BSONDecimal128.html.
CMS
Wolfram Language. 2019. "BSONDecimal128." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/BSONDecimal128.html.
APA
Wolfram Language. (2019). BSONDecimal128. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/MongoLink/ref/BSONDecimal128.html
BibTeX
@misc{reference.wolfram_2025_bsondecimal128, author="Wolfram Research", title="{BSONDecimal128}", year="2019", howpublished="\url{https://reference.wolfram.com/language/MongoLink/ref/BSONDecimal128.html}", note=[Accessed: 16-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_bsondecimal128, organization={Wolfram Research}, title={BSONDecimal128}, year={2019}, url={https://reference.wolfram.com/language/MongoLink/ref/BSONDecimal128.html}, note=[Accessed: 16-August-2025]}