laptop and a wrench

Error

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
Número de ID del error BUG-000143171
EnviadoSeptember 23, 2021
Última modificaciónSeptember 2, 2025
Relacionado conArcGIS Online
Versión encontrada9.2
Sistema operativoWindows OS
Versión de sistema operativo10.0
EstadoAs Designed

Información adicional

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.

Solución alternativa

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.

Pasos para reproducir

ID del error: BUG-000143171

Software:

  • ArcGIS Online

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga