<?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: Measurement widget digits in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-digits/m-p/564415#M52670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For this i think you have to modify your measurement.js in the jsapi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in thi js search the function _outputResult: inside of this are 2 functions: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.toPrecision(X) for values &amp;gt; 1000000 //default is 9&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.toFixed(X) &amp;gt;0 &amp;lt; 1000000 //default is 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;modify X will change the numbers of digits on the right&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also you can add variables so that you can change the precision dynamicly from your application&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2012 12:14:57 GMT</pubDate>
    <dc:creator>JanJeske</dc:creator>
    <dc:date>2012-11-06T12:14:57Z</dc:date>
    <item>
      <title>Measurement widget digits</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-digits/m-p/564414#M52669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know if it is possible to control the number of digits to the right of the decimal in the measurement widget results?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ryan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2012 22:34:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-digits/m-p/564414#M52669</guid>
      <dc:creator>DavidAglietti</dc:creator>
      <dc:date>2012-11-05T22:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Measurement widget digits</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-digits/m-p/564415#M52670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For this i think you have to modify your measurement.js in the jsapi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in thi js search the function _outputResult: inside of this are 2 functions: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.toPrecision(X) for values &amp;gt; 1000000 //default is 9&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.toFixed(X) &amp;gt;0 &amp;lt; 1000000 //default is 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;modify X will change the numbers of digits on the right&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also you can add variables so that you can change the precision dynamicly from your application&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 12:14:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-digits/m-p/564415#M52670</guid>
      <dc:creator>JanJeske</dc:creator>
      <dc:date>2012-11-06T12:14:57Z</dc:date>
    </item>
  </channel>
</rss>

