<?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 Text String Script in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180590#M2350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to write a script that will trim my acreage two places after the decimal. Any help would be appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Mar 2012 14:13:23 GMT</pubDate>
    <dc:creator>CaraMays</dc:creator>
    <dc:date>2012-03-22T14:13:23Z</dc:date>
    <item>
      <title>Text String Script</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180590#M2350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to write a script that will trim my acreage two places after the decimal. Any help would be appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 14:13:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180590#M2350</guid>
      <dc:creator>CaraMays</dc:creator>
      <dc:date>2012-03-22T14:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: Text String Script</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180591#M2351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you provide a little more information about your problem?&amp;nbsp; Where are these acreages being stored and retrieved from? What is it you are trying to do that you need to change the precision of that number to 2 digits right of the decimal?&amp;nbsp; The context of this problem helps me to to understand what sort of advice to give you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 13:48:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180591#M2351</guid>
      <dc:creator>ChristopherThompson</dc:creator>
      <dc:date>2012-03-23T13:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Text String Script</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180592#M2352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I have stored my aguse information in a geodatabase. I have added a field in which I would like to calculate total acreage in a section and provide a report with the total acreage of a certain land use feature. Once I have added a new field and calculated the acreage, the number has 12 or 13 numbers after the decimal. For example, acreage = 123.236545231236. Here, I would like to use the Calculate Geometry tool to perform a "trim" of the number where all the attributes will be trimmed to two decimal places. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this enough? Sorry if this is a little confusing. Thanks for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 14:15:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180592#M2352</guid>
      <dc:creator>CaraMays</dc:creator>
      <dc:date>2012-03-23T14:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Text String Script</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180593#M2353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am sorry, I used the Calculate Geometry to find the acreage...Now I would like to use the Field Calculator to trim the decimal places.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 14:50:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180593#M2353</guid>
      <dc:creator>CaraMays</dc:creator>
      <dc:date>2012-03-23T14:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Text String Script</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180594#M2354</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The field calculator expression you want is something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;Round( [Acreage] , 2)&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where [Acreage] is the field with the acreage in, and the 2 is the number of decimal places to round to. That's for VBA if you're using 9.3, I think VBScript in 10 is the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Python is the same function Round() but I think you put exclamation points around the field name rather than square brackets e.g. !Acreage! instead of [Acreage].&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Dan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 08:03:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180594#M2354</guid>
      <dc:creator>DanEvans</dc:creator>
      <dc:date>2012-03-26T08:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Text String Script</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180595#M2355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you!!!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2012 12:54:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180595#M2355</guid>
      <dc:creator>CaraMays</dc:creator>
      <dc:date>2012-03-26T12:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Text String Script</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180596#M2356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;good idea,good luck man&lt;/SPAN&gt;&lt;IMG src="http://www.infoocean.info/avatar2.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2012 06:18:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/text-string-script/m-p/180596#M2356</guid>
      <dc:creator>GeorgiaHalsted</dc:creator>
      <dc:date>2012-03-27T06:18:29Z</dc:date>
    </item>
  </channel>
</rss>

