AnsweredAssumed Answered

Help with multiplication in Survey123

Question asked by AquaterraTech on Apr 17, 2019
Latest reply on Apr 23, 2019 by Philip.Wilson-esristaff

Hi, I am trying to do simple multiplication in Survey123, and it keeps giving me the wrong answer when I plug in numbers on the Template. I am trying to find Purge (gallons), so I have DTW (ft), DTB (ft), and Diameter (inches). The equation to get Purge is DTB-DTW = water column and then you multiply water column by the conversion (if diameter is 2, conversion is 0.68, if diameter is 4, conversion is 1.98, and if diameter is 6, conversion is 4.5).


This is what I have: ${DTB} - ${DTW} to get water column. Then you choose the diameter (either 2, 4, or 6). Then, you choose the conversion (either 0.68, 1.98, or 4.5). Then for my Purge column, I have ${waterColumn} * ${conversion}. I got no errors when I saved it, but when I tried an example, I got a wrong answer.


I tried DTB = 65.80, DTW = 39.46, diameter = 6, and conversion was 4.5. My water column came our correctly (26.34), but Purge keeps coming out as 79, even though 26.34*4.5 = 118.53. What am I doing wrong?