<?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: Thousands separators using Draw widget in WAB dev in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/thousands-separators-using-draw-widget-in-wab-dev/m-p/128346#M3709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Diego,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The locale that your app is using defines the way the number will be formatted using the num.toLocaleString().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the locale option to force the US english number format like this.&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14394118760012858 jive_text_macro" data-renderedposition="113_8_912_16" jivemacro_uid="_14394118760012858"&gt;&lt;P&gt;var localeLength = jimuUtils.localizeNumber(length.toFixed(1),{locale:"en-US"});&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2015 20:40:26 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2015-08-12T20:40:26Z</dc:date>
    <item>
      <title>Thousands separators using Draw widget in WAB dev</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/thousands-separators-using-draw-widget-in-wab-dev/m-p/128345#M3708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to invert the separator for every thousand. When I use Draw widget in WAB I got a (,) separating the decimals and a dot separating the thousands &lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/122080_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I identify in the widget.js file of the draw widget the variable that is used to make that separation and the symbols&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/122081_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I opened the utils.js file and i found the pattern that is used to separate the thousands and decimals and it seems to be correct&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/122083_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I also check this in WAB widget option and it is using the same format and I would like to use a dot for decimals and coma for thousands&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-4" src="https://community.esri.com/legacyfs/online/122084_pastedImage_3.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;My question is, am i looking in the correct file to invert the symbols used to separate decimals and thousands?&amp;nbsp; How can I accomplish this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Diego Llamas &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 18:35:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/thousands-separators-using-draw-widget-in-wab-dev/m-p/128345#M3708</guid>
      <dc:creator>DiegoLlamas</dc:creator>
      <dc:date>2015-08-12T18:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands separators using Draw widget in WAB dev</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/thousands-separators-using-draw-widget-in-wab-dev/m-p/128346#M3709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Diego,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The locale that your app is using defines the way the number will be formatted using the num.toLocaleString().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the locale option to force the US english number format like this.&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14394118760012858 jive_text_macro" data-renderedposition="113_8_912_16" jivemacro_uid="_14394118760012858"&gt;&lt;P&gt;var localeLength = jimuUtils.localizeNumber(length.toFixed(1),{locale:"en-US"});&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 20:40:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/thousands-separators-using-draw-widget-in-wab-dev/m-p/128346#M3709</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-08-12T20:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Thousands separators using Draw widget in WAB dev</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/thousands-separators-using-draw-widget-in-wab-dev/m-p/128347#M3710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 21:09:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/thousands-separators-using-draw-widget-in-wab-dev/m-p/128347#M3710</guid>
      <dc:creator>DiegoLlamas</dc:creator>
      <dc:date>2015-08-12T21:09:15Z</dc:date>
    </item>
  </channel>
</rss>

