Closed jvliwanag closed 4 months ago
The bson
crate doesn't provide any manipulation for Decimal128
values beyond reading or printing strings. The binary representation is a standard IEEE 754-2008 value, so anything that uses that representation should work fine, including the decimal
crate.
Seeking guidance on how to operate on Decimal128 bson type such as value comparisons, additions, etc.
I noticed that bson-rust used decimal crate at one point but opted to make it internal. Is decimal byte compatible with Decimal128? Is it advisable to use from_raw_bytes to convert to Decimal?