Select to view content in your preferred language

Dividing does not work

741
3
Jump to solution
03-27-2024 03:57 PM
Labels (3)
AdrienHaccoun
New Contributor

Hello,

I have trouble to make basic mathematical operation in the REST API of ArcGIS.

I just want to query a division of 2 fields.

While this operation should work, see here.

When I try to query it, it doesn't. See here.

The addition work well, but not the divisions. Any thoughts on that?

Thank you for your help!

0 Kudos
1 Solution

Accepted Solutions
AdrienHaccoun
New Contributor

Solved it! We had to check that the denominator is not 0.

View solution in original post

0 Kudos
3 Replies
Bud
by
Esteemed Contributor
0 Kudos
ChrisUnderwood
Esri Contributor

Hello @AdrienHaccoun , could you Multiply by the Reciprocal (1/x) of the second field value ?

AdrienHaccoun
New Contributor

Solved it! We had to check that the denominator is not 0.

0 Kudos