I am currently using Azure DocumentDB to store pricing product data. Almost everything works fine, but now I have a problem that my decimal numbers (System.Decimal) are truncated when reading from DocumentDB.
For example, this price:
Input Price: 25.1132356547854257645454
will be truncated to
DocumentDB Price: 25.113235654785
Since we use the synchronization mechanism to search for price changes, this will lead to a price change, since this is not the same price.
I do not know how I can change the behavior of DocumentDB. In the worst case scenario, I would have to cut my starting prices to prevent this problem, but I would prefer not to.
Thanks for the help.
source share