<?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: Unexpected result when integer field type is chaged to calculate or hidden in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/unexpected-result-when-integer-field-type-is/m-p/870423#M28022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James, The int() function worked great. The bind::type set to integer alone did not make a difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Nov 2017 14:11:52 GMT</pubDate>
    <dc:creator>BrentKinal1</dc:creator>
    <dc:date>2017-11-28T14:11:52Z</dc:date>
    <item>
      <title>Unexpected result when integer field type is chaged to calculate or hidden</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/unexpected-result-when-integer-field-type-is/m-p/870421#M28020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached xlsx form.&lt;/P&gt;&lt;P&gt;When I add 1 to a field set to type integer I get the expected result of 1 more than the integer value&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;e.g: 1 + ${int}....if int = 2 the result is 3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;However if I change the integer field to calculate or hidden and 1 to the value of the field I get an unexpected result of a the calculate or hidden value with a leading 1. In this case I also have the field type set to Integer&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;e.g: 1 + ${calc}....if calc = 2 the result is 12&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I doing something wrong here or is this a bug?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 19:43:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/unexpected-result-when-integer-field-type-is/m-p/870421#M28020</guid>
      <dc:creator>BrentKinal1</dc:creator>
      <dc:date>2017-11-15T19:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected result when integer field type is chaged to calculate or hidden</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/unexpected-result-when-integer-field-type-is/m-p/870422#M28021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Brent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculate questions are text by default, causing the 'addition' to being string concatenation (i.e., 'a' + 1&amp;nbsp;= 'a1'). &amp;nbsp;You would either need to convert the value using either int() or number() functions, or create a bind::type column in you worksheet and specify either integer or decimal as the type of the calculate question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 08:07:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/unexpected-result-when-integer-field-type-is/m-p/870422#M28021</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-11-16T08:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Unexpected result when integer field type is chaged to calculate or hidden</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/unexpected-result-when-integer-field-type-is/m-p/870423#M28022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James, The int() function worked great. The bind::type set to integer alone did not make a difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Nov 2017 14:11:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/unexpected-result-when-integer-field-type-is/m-p/870423#M28022</guid>
      <dc:creator>BrentKinal1</dc:creator>
      <dc:date>2017-11-28T14:11:52Z</dc:date>
    </item>
  </channel>
</rss>

