laptop and a wrench

Bug

When using an SQL expression in ArcGIS Online, text fields calculated from double fields round or convert the numbers to scientific notation when there are more than seven digits in the double record.

ArcGIS Online
Bug ID Number BUG-000143171
SubmittedSeptember 23, 2021
Last ModifiedSeptember 2, 2025
Applies toArcGIS Online
Version found9.2
Operating SystemWindows OS
Operating System Version10.0
StatusAs Designed

Additional Information

In ArcGIS Online, esriFieldTypeDouble maps to SQL Server float. Float provides up to 15–16 digits of precision. Values beyond this limit will either render in scientific notation (for large integers) or truncate extra fractional digits. This aligns with documented SQL Server behavior in Microsoft Docs for float and real (Transact-SQL) in https://learn.microsoft.com/en-us/sql/t-sql/data-types/float-and-real-transact-sql?view=sql-server-ver16.

Workaround

Use Arcade expressions when calculating text fields from doubles to preserve the full literal value. For SQL calculations, the str (length, decimals) function can control formatting, though precision remains limited by float. If exact preservation of all digits is required, consider using text or decimal/numeric fields instead of double.

Steps to Reproduce

Bug ID: BUG-000143171

Software:

  • ArcGIS Online

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