<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Dollar sign in Floating point field component.</title><link>https://community.appian.com/discussions/f/user-interface/11339/dollar-sign-in-floating-point-field-component</link><description>Concern: The desired result should be a dollar sign appended to the Value in the floating point field. 
 The reason behind achiveing this is the value displayed is editable and if the dollar function is used with a textfield might result in inappropriate</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Dollar sign in Floating point field component.</title><link>https://community.appian.com/thread/49895?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 18:35:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8afc3007-755d-4451-ae6c-f3b7898db904</guid><dc:creator>manikandanp13</dc:creator><description>dollar() Function returns Text number so it can be use in a!textField. &lt;br /&gt;
a!textField(&lt;br /&gt;
      label: &amp;quot;amount &amp;quot; &amp;amp; ri!index,&lt;br /&gt;
      value: if(&lt;br /&gt;
        or(isnull(ri!items[ri!index].qty), isnull(ri!items[ri!index].unitPrice)),&lt;br /&gt;
        null,&lt;br /&gt;
        dollar(tointeger(ri!items[ri!index].qty) * todecimal(ri!items[ri!index].unitPrice))&lt;br /&gt;
      ),&lt;br /&gt;
&lt;a href="https://forum.appian.com/suite/help/16.3//recipe_add_edit_and_remove_data_in_an_inline_editable_grid.html"&gt;forum.appian.com/.../recipe_add_edit_and_remove_data_in_an_inline_editable_grid.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dollar sign in Floating point field component.</title><link>https://community.appian.com/thread/49877?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 11:57:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1456bbac-37e5-42b3-a299-a5e7a475529e</guid><dc:creator>Vinay Kumar Rai</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; a!textField(
     value:if(isnull(local!ABC),null,dollar(local!ABC)),
     saveInto:local!ABC,
    validations:
       if(
           tointeger(local!ABC) = local!ABC,
           &amp;quot;&amp;quot;,
           &amp;quot;Text not allowed&amp;quot;
       )
    )&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You can use textfield insted of FloatPointField, and apply the validation on the textfield&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Dollar sign in Floating point field component.</title><link>https://community.appian.com/thread/49875?ContentTypeID=1</link><pubDate>Fri, 03 Nov 2017 11:43:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7ab27b18-412e-4837-93c7-99504e1d9045</guid><dc:creator>ankita0004</dc:creator><description>You can not use floating point field for this but there will be no any validation issue if you will use textField &lt;br /&gt;
you can see my code below&lt;br /&gt;
&lt;br /&gt;
a!textField(&lt;br /&gt;
          label: &amp;quot;Amount&amp;quot;,&lt;br /&gt;
          value: if(rule!Utils_CheckIsNull(ri!amount),ri!amount,dollar(todecimal(ri!amount))),&lt;br /&gt;
          saveInto: {&lt;br /&gt;
            a!save(&lt;br /&gt;
              ri!amount,&lt;br /&gt;
              trim(&lt;br /&gt;
                save!value&lt;br /&gt;
              )&lt;br /&gt;
            )&lt;br /&gt;
          }&lt;br /&gt;
          &lt;br /&gt;
         &lt;br /&gt;
        )&lt;br /&gt;
&lt;br /&gt;
here ri!amount is a float variable&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>