PROBLEM
In ArcGIS Survey123 Connect, most calculations return the output decimal places to match the input with the most decimal places. For example, the survey below is a calculation based on the formula: Plant1 + Plant2 + Plant3 = Total Area. The input data contains two, three, and one decimal places. The output returns a number with three decimal places, following the input with the most decimal places.
In certain calculations, the output decimal places do not match the number of input decimal places. The image below shows input data with two, three, and one decimal places, but the output returns a number with 15 decimal places.
The calculation must be configured with the round function, to round the output according to the specified number of decimal places.
Follow the steps below to round to the desired number of output decimal places.
Note: These steps are for mathematical calculations involving the decimal data type.
round(${field_A} + ${field_B} + ${field_C}, decimal place)
As an alternative, follow the steps below to round the output to an integer, without any decimal places.
int(${field_A} + ${field_B} + ${field_C})
Article ID: 000020308
Get help from ArcGIS experts
Download the Esri Support App