Hi!
I am using arcade in an ArcGIS Dashbard indicator (enterprise not AGOL) to round my result to a whole number. I have successfully removed my decimal points, but i would like the function to always return the higher whole number.
Example: I would like the value 21.1 to be rounded to 22, not 21.
Is there a way to do this?
Solved! Go to Solution.
"old school" take the integer of a number plus 0.5
int(number + 0.5)
The Ceil function rounds a number up.
"old school" take the integer of a number plus 0.5
int(number + 0.5)
Thank you!
The Ceil function rounds a number up.
Thank you! I tried this and it was the perfect soulution for my indicator.