<?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: Adding a Decimal in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1140006#M40235</link>
    <description>&lt;P&gt;As rightly mentioned by Doug, you may remove int() function, or replace it by &lt;STRONG&gt;number()&lt;/STRONG&gt; function.&lt;/P&gt;&lt;P&gt;Also you might want to further &lt;STRONG&gt;multiply the expression by 0.01&lt;/STRONG&gt; in case you want to get 5.88 instead of 588.0 (as per your example screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Feb 2022 18:52:56 GMT</pubDate>
    <dc:creator>JayantaPoddar</dc:creator>
    <dc:date>2022-02-02T18:52:56Z</dc:date>
    <item>
      <title>Adding a Decimal</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1139953#M40225</link>
      <description>&lt;P&gt;I'm hoping someone can point me in the right direction to add a decimal point in my last calculation. I have attached a screen shot of the calculation and the result on the form. I have also attached the XLSForm. All the calculations work perfectly except I need a decimal point after the first number. So instead of a result of 588, the result needs to be 5.88.&lt;/P&gt;&lt;P&gt;I have read through some of the post on decimals but unfortunately I didn't had any luck.&lt;/P&gt;&lt;P&gt;Thanks for any help in advance,&lt;/P&gt;&lt;P&gt;Todd Hill&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 17:33:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1139953#M40225</guid>
      <dc:creator>ToddHill</dc:creator>
      <dc:date>2022-02-02T17:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Decimal</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1139971#M40232</link>
      <description>&lt;P&gt;You are using int() in your calcs.&amp;nbsp; Integers have no decimal points so it is removing them.&amp;nbsp; Just remove the int() since all your fields are decimal anyways it is not needed.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 18:01:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1139971#M40232</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2022-02-02T18:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Decimal</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1140006#M40235</link>
      <description>&lt;P&gt;As rightly mentioned by Doug, you may remove int() function, or replace it by &lt;STRONG&gt;number()&lt;/STRONG&gt; function.&lt;/P&gt;&lt;P&gt;Also you might want to further &lt;STRONG&gt;multiply the expression by 0.01&lt;/STRONG&gt; in case you want to get 5.88 instead of 588.0 (as per your example screenshot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 18:52:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1140006#M40235</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2022-02-02T18:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Decimal</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1140022#M40237</link>
      <description>&lt;P&gt;So I made the change you both suggested and I got the result I'm looking for but without the decimal point after the 5.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can either one of you tell me how the calculation should be to get the decimal point added?&lt;/P&gt;&lt;P&gt;See the attached screenshot of the XLS and the Form.&lt;/P&gt;&lt;P&gt;Thanks again for your help,&lt;/P&gt;&lt;P&gt;Todd&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 19:12:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1140022#M40237</guid>
      <dc:creator>ToddHill</dc:creator>
      <dc:date>2022-02-02T19:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Decimal</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1140029#M40238</link>
      <description>&lt;P&gt;&lt;EM&gt;number(0.785 * ${D1} * ${D2} * ${PL} * 7.48 * 50 div ${cl2s} * 0.01 * 0.01)&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 19:20:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1140029#M40238</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2022-02-02T19:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Decimal</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1140037#M40241</link>
      <description>&lt;P&gt;So when I add another 0.01 to the calc the answer came in as a 6.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached a picture.&lt;/P&gt;&lt;P&gt;Thoughts?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 19:30:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1140037#M40241</guid>
      <dc:creator>ToddHill</dc:creator>
      <dc:date>2022-02-02T19:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Decimal</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1140129#M40249</link>
      <description>&lt;P&gt;Also it looks like the field type for your gal field is integer. If you change that to decimal that should fix your problem.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 23:43:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1140129#M40249</guid>
      <dc:creator>AndyMcClary</dc:creator>
      <dc:date>2022-02-02T23:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a Decimal</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1140162#M40256</link>
      <description>&lt;P&gt;You are right.&lt;/P&gt;&lt;P&gt;Initially (in XLSFORM), it was mentioned as Decimal, so I overlooked on that part.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 03:51:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/adding-a-decimal/m-p/1140162#M40256</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2022-02-03T03:51:07Z</dc:date>
    </item>
  </channel>
</rss>

