Rounding calculations

2172
3
07-12-2018 12:42 PM
BryceHancock
Occasional Contributor

I'm looking for help with a calculation on my form. I want to round the numeric answer to a question divided by the product of a numeric answer to a question and a number. My formula is as follows:

round(${question1}div(${question2}*.01),2)

The calculation will not work on my form and I get no error message. Any help greatly appreciated.

0 Kudos
3 Replies
JohnathanHasthorpe
Esri Regular Contributor

Make sure that you include the leading 0 in 0.01:

round(${question1}div(${question2}*0.01),2)

Thanks

John

BryceHancock
Occasional Contributor

Thank you. Is there a more comprehensive resource for calculations? What programming language is used for the formulas?

0 Kudos
JohnathanHasthorpe
Esri Regular Contributor

Here you go: Formulas—Survey123 for ArcGIS | ArcGIS 

These are based on the XLSForm standard: XLSForm.org 

0 Kudos