Was running the GP Field Calculator in Pro, the expression did not check out, but returned the desired output. First time running across this, so I thought I would share.
Solved! Go to Solution.
Hi Brian Acheff ,
Thanks for sharing. The only thing I can imagine is that Arcade normally prefers to work with fields that have an underscore in the name in a different way (this goes for line 1 and 2):
var x = $feature["PASER_2016"];
When I look at the parser on the left, there is something weird going on, since it seems to change the formula:
Also; wouldn't it be easier to say "y-x" instead of "(x-y)*(-1)"?
Hi Brian Acheff ,
Thanks for sharing. The only thing I can imagine is that Arcade normally prefers to work with fields that have an underscore in the name in a different way (this goes for line 1 and 2):
var x = $feature["PASER_2016"];
When I look at the parser on the left, there is something weird going on, since it seems to change the formula:
Also; wouldn't it be easier to say "y-x" instead of "(x-y)*(-1)"?
No problem, happy to be able to share.
Concerning the equation, yes, you are correct. Thank you for bringing that to my attention.