div calculation not working

04-22-2016 07:22 PM
New Contributor

I have a Survey123 form that is doing a simple addition of 2 fields.  That is working OK.  I am then trying to divide 2 fields and although the form validates, the result of the DIV is not shown like the addition.

This is the calculation: ${group_meal_cost} div ${people_at_meal}

The Group_meal_cost is a decimal field and the people_at_meal is an integer (whole # of people expected).  The result is a decimal per_person_meal_cost

The form validates, accepts input for the # of people, total cost of meal, but doesn't fill in the calculation as expected.

Any thoughts and assistance would be appreciated.



Tags (1)
0 Kudos
0 Replies