When I identify a feature which is having a double value as 0.00001 in ArcMap, it is showing what is expected. I have the layer published as a map service using ArcGIS Server. If I search for the same feature through Query Task of Map Service, I am getting the value as 9.999999999999999E-6. Below are some values where I identified such behavior.
|Value in ArcMap||Value in ArcGIS Server Rest Endpoint|
Field Details from ArcMap:
Number Format: Numeric
Data Type: Double
Products: ArcGIS Desktop 10.6.1, ArcGIS Server 10.6.1, Oracle DB