laptop and a wrench

Bug

Coded value domains created with 'Double' data type show inconsistent values when queried using SQL.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM084323
SubmittedAugust 31, 2012
Last ModifiedApril 2, 2025
Applies toNo Product Found
Version found10.1
StatusKnown Limit

Additional Information

Doubles in databases are not exactly equal. see workaround

Workaround

IEEE 754 describes how doubles are modeled with computers, often seemingly simple doubles cannot be exactly represented, and the next closest representation is used. Search 'directly compare two doubles' to understand why a tolerance based approach must be used. e.g., 10.71 != 10.71 (if its from a database)

Steps to Reproduce

Bug ID: NIM084323

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options