<?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 Re: Mathematical Calculation from a previous integer question in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/mathematical-calculation-from-a-previous-integer/m-p/1360504#M53426</link>
    <description>&lt;P&gt;You have too many parameters - only 2 not 3.&amp;nbsp; Not sure what that last 0 is.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(${fee_type} = 1, (${new_sqft} * 0.15 + 50), 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(condition, true, false)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note set the bind::type column if you are seeing strings getting concat instead.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 18:37:40 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2023-12-13T18:37:40Z</dc:date>
    <item>
      <title>Mathematical Calculation from a previous integer question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/mathematical-calculation-from-a-previous-integer/m-p/1360496#M53425</link>
      <description>&lt;P&gt;Hey Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Building out a form where my user will select a value from 1-14 in a question, and a calculation is performed based on this selection.&lt;/P&gt;&lt;P&gt;For my calculation question, I need to create a calculation based on the previous answer.&lt;/P&gt;&lt;P&gt;This is what I have so far.&lt;/P&gt;&lt;P&gt;if(${fee_type} = 1, (${new_sqft} * 0.15 + 50), 0, 0)&lt;/P&gt;&lt;P&gt;fee_type = integer&lt;/P&gt;&lt;P&gt;new_sqft = double&lt;/P&gt;&lt;P&gt;fee = double (Will be Calculated)&lt;/P&gt;&lt;P&gt;Any direction would be greatly appreciated, almost finished.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Trevor&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 18:34:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/mathematical-calculation-from-a-previous-integer/m-p/1360496#M53425</guid>
      <dc:creator>TrevorRobar2</dc:creator>
      <dc:date>2023-12-13T18:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Calculation from a previous integer question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/mathematical-calculation-from-a-previous-integer/m-p/1360504#M53426</link>
      <description>&lt;P&gt;You have too many parameters - only 2 not 3.&amp;nbsp; Not sure what that last 0 is.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(${fee_type} = 1, (${new_sqft} * 0.15 + 50), 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if(condition, true, false)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note set the bind::type column if you are seeing strings getting concat instead.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 18:37:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/mathematical-calculation-from-a-previous-integer/m-p/1360504#M53426</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-12-13T18:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Mathematical Calculation from a previous integer question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/mathematical-calculation-from-a-previous-integer/m-p/1360519#M53431</link>
      <description>Nice Catch, Thanks! I knew if I stopped looking at it and asked a friend, it would work out.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Dec 2023 19:01:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/mathematical-calculation-from-a-previous-integer/m-p/1360519#M53431</guid>
      <dc:creator>TrevorRobar2</dc:creator>
      <dc:date>2023-12-13T19:01:49Z</dc:date>
    </item>
  </channel>
</rss>

