Closed lkzc19 closed 1 year ago
I encountered an issue while using KMongo. In MongoDB, a field is of type Double, but in Kotlin, it is of type BigDecimal. When retrieving the data, the value 0.13 becomes 0.130000000000000xxxxxxxx. After debugging, I realized that it seems to be a deserialization issue.
Thank you !
BigDecimal(jp.doubleValue)
can cause precision loss