laptop and a wrench

Error

The number() function in Arcade only converts the first 16 digits of a number, any additional digits are changed to zeroes.

Última publicación: June 9, 2022 ArcGIS Online
Número de ID del error BUG-000149840
EnviadoJune 8, 2022
Última modificaciónJune 5, 2024
Relacionado conArcGIS Online
Versión encontrada10.1
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoWill Not Be Addressed

Información adicional

This issue is not an Arcade issue but rather a JavaScript behavior when the maximum safe integer size is exceeded. The workaround to store it as a string instead of a number is required for displaying.

Solución alternativa

Ensure the value within the parentheses has 16 digits or less, or return a text string instead of a number in the Arcade expression.

Pasos para reproducir

ID del error: BUG-000149840

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