<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic div calculation not working in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/div-calculation-not-working/m-p/326469#M2067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;I have a Survey123 form that is doing a simple addition of 2 fields.&amp;nbsp; That is working OK.&amp;nbsp; I am then trying to divide 2 fields and although the form validates, the result of the DIV is not shown like the addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;This is the calculation: ${group_meal_cost} div ${people_at_meal}&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;The Group_meal_cost is a decimal field and the people_at_meal is an integer (whole # of people expected).&amp;nbsp; The result is a decimal per_person_meal_cost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;The form validates, accepts input for the # of people, total cost of meal, but doesn't fill in the calculation as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;Any thoughts and assistance would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.esri.com/legacyfs/online/195995_2016-04-22_22-03-08.png"&gt;&lt;IMG alt="2016-04-22_22-03-08.png" class="image-1 jive-image" height="706" src="https://community.esri.com/legacyfs/online/195997_2016-04-22_22-03-08.png" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="1600" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 23 Apr 2016 02:22:11 GMT</pubDate>
    <dc:creator>TonyVota</dc:creator>
    <dc:date>2016-04-23T02:22:11Z</dc:date>
    <item>
      <title>div calculation not working</title>
      <link>https://community.esri.com/t5/developers-questions/div-calculation-not-working/m-p/326469#M2067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;I have a Survey123 form that is doing a simple addition of 2 fields.&amp;nbsp; That is working OK.&amp;nbsp; I am then trying to divide 2 fields and although the form validates, the result of the DIV is not shown like the addition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;This is the calculation: ${group_meal_cost} div ${people_at_meal}&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;The Group_meal_cost is a decimal field and the people_at_meal is an integer (whole # of people expected).&amp;nbsp; The result is a decimal per_person_meal_cost&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;The form validates, accepts input for the # of people, total cost of meal, but doesn't fill in the calculation as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;Any thoughts and assistance would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;&lt;A href="https://community.esri.com/legacyfs/online/195995_2016-04-22_22-03-08.png"&gt;&lt;IMG alt="2016-04-22_22-03-08.png" class="image-1 jive-image" height="706" src="https://community.esri.com/legacyfs/online/195997_2016-04-22_22-03-08.png" style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;" width="1600" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 23 Apr 2016 02:22:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/div-calculation-not-working/m-p/326469#M2067</guid>
      <dc:creator>TonyVota</dc:creator>
      <dc:date>2016-04-23T02:22:11Z</dc:date>
    </item>
  </channel>
</rss>

