It’s not a bug, The numeric value here is a 64-bit double, not an integer, which means it may lose precision. These two values share the same floating-point representation, leading to their comparison as equal. This occurs when values exceed the 64-bit integer limit.
This is limitation of JavaScript. JavaScript uses double-precision floating-point format numbers as specified in IEEE 754 and it can safely hold numbers between -(253 – 1) and 253-1 (i.e., 9007199254740991) only.
2
Answers
It’s not a bug, The numeric value here is a 64-bit double, not an integer, which means it may lose precision. These two values share the same floating-point representation, leading to their comparison as equal. This occurs when values exceed the 64-bit integer limit.
This is an issue on the Azure Portal only, the reason is that Javascript in the browser has precision limits and it’s officially documented at: https://learn.microsoft.com/azure/cosmos-db/faq#why-are-long-floating-point-values-in-a-document-rounded-when-viewed-from-data-explorer-in-the-portal-