laptop and a wrench

Bug

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

Last Published: June 9, 2022 ArcGIS Online
Bug ID Number BUG-000149840
SubmittedJune 8, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS Online
Version found10.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

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.

Workaround

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

Steps to Reproduce

Bug ID: BUG-000149840

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