Howdy everyone, I'm working on setting a field calculation rule in field maps to calculate GPM. However, I am running into an issue where the answer coming out of arcade makes absolutely no sense. Using a test value where I know the result should be ~2.13 I keep getting an answer of 2,235. No idea what I am doing wrong here, as when I use the exact same format in a calculator I get the correct answer. I am no stranger to doing math with arcade but this one has me completely stumped.
What am I missing here?
Thanks!
Solved! Go to Solution.
Use the Pow function to raise x to the power of y
var D = 0.7;
if (IsEmpty(D)) return null;
return Pow(D - .62, 2.48) * 2.49 * 448.8;