Hi all, I'm looking for a way to round down in Arcade. I have used the round function which does simple rounding up or down and I've tried making the field integer type, which still rounds up or down. I'm doing field calculator and attribute rule work and am looking to round values down https://speedtest.vet/ . Thanks so much for the help!
in python if you can use the field calculator
import math math.trunc(2.77) 2
the math module is available by default in the field calculator so you shouldn't have to use the import statement
You can use Floor() for that. The opposite (always round up) is Ceil().
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.