<?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>Convert numbers to Thousand/Million Symbol</title><link>https://community.appian.com/discussions/f/rules/31212/convert-numbers-to-thousand-million-symbol</link><description>Hi, Is there an existing function on Appian to convert this value for example 100,000 to 100k? this goes on by million or billion. Thanks2</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Convert numbers to Thousand/Million Symbol</title><link>https://community.appian.com/thread/124805?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 05:56:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a1a393e4-417d-425a-b410-395ebef08773</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;You can use this customized rule that I created for myself&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!match(
  value: ri!num,
  whenTrue: and(len(fv!value)&amp;gt;=4,len(fv!value)&amp;lt;=6 ),
  then: concat(round(fv!value/1000,2),&amp;quot;k&amp;quot;),
  whenTrue: and(len(fv!value)&amp;gt;=6,len(fv!value)&amp;lt;=9 ),
  then:concat(round(fv!value/1000000,2),&amp;quot;m&amp;quot;),
  whenTrue:len(fv!value)&amp;lt;=9,
  then: concat(round(fv!value/10000000,2),&amp;quot;b&amp;quot;),
  default: fv!value
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert numbers to Thousand/Million Symbol</title><link>https://community.appian.com/thread/124804?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 05:53:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:71cac559-4667-4f18-90b6-b31512ba8a56</guid><dc:creator>EREN_YEAGER</dc:creator><description>&lt;p&gt;yes we can but it is not clear from OP.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert numbers to Thousand/Million Symbol</title><link>https://community.appian.com/thread/124803?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 05:52:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:81e64a54-64f4-44e3-9c9b-547e649eb733</guid><dc:creator>EREN_YEAGER</dc:creator><description>&lt;p&gt;yes, by question phrase OP said value can be million or billion, assuming it can go more than&amp;nbsp; &lt;a href="https://docs.appian.com/suite/help/23.4/Appian_Data_Types.html#:~:text=Number%20(Integer)&amp;amp;text=Integer%20numbers%20can%20range%20from,using%20the%20tointeger()%20function."&gt;number(integer) range&lt;/a&gt;&amp;nbsp;in Appian which can be an issue, if it is below than that&amp;nbsp;&amp;nbsp;&lt;a href="/members/tomj8549"&gt;Yamaken&lt;/a&gt;&amp;nbsp; -&amp;gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*you can use round funcction to display values after decimal 
for ex bellow cade will give you 100K for 100000, and 100.543K for 100543 to round up the result by 1 or 2 decimal 
you can use round function to get desired result e.g - 100.5k*/
if(
  or(len(ri!number) &amp;lt; 4, len(ri!number) &amp;gt; 10),
  ri!number,
  a!match(
    value: len(ri!number),
    whenTrue: fv!value &amp;lt; 7,
    then: concat(ri!number / 1000, &amp;quot;k&amp;quot;),
    whenTrue: fv!value &amp;lt; 10,
    then: concat(ri!number / 1000000, &amp;quot;M&amp;quot;),
    default: concat(ri!number / 1000000000, &amp;quot;B&amp;quot;)
  )
)&lt;/pre&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/15/pastedimage1705991152099v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert numbers to Thousand/Million Symbol</title><link>https://community.appian.com/thread/124799?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 05:30:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f4a439db-50cf-4d9c-8992-a8ae373eda17</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;I think the person who asked this question should tell what is the Maximum length of digits he is expecting to be processed or formatted. To answer your question he is asking just to display the value in thousands is what I understand. If its the above case then he can change it to thousands and use fixed and concat the K&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert numbers to Thousand/Million Symbol</title><link>https://community.appian.com/thread/124798?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 05:28:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5a7bf257-a47e-48bf-95d7-c474afc77295</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;Can&amp;#39;t we use round function and use keywords like &amp;quot;Nearly&amp;quot; , &amp;quot;Over&amp;quot;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert numbers to Thousand/Million Symbol</title><link>https://community.appian.com/thread/124796?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 05:21:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e687cfb9-20f7-44dc-8c0a-7128c14f87dc</guid><dc:creator>EREN_YEAGER</dc:creator><description>&lt;p&gt;we can write our own logic but&amp;nbsp; in case if value is : 968546729, what do you expect in output?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert numbers to Thousand/Million Symbol</title><link>https://community.appian.com/thread/124795?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 05:13:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:40b9ba3b-464d-4f0e-b8a6-5cee2d66712c</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/tomj8549"&gt;Yamaken&lt;/a&gt;,&lt;br /&gt;&lt;br /&gt;There is no such function to perform your requirement. We have currency function to get the format from normal text/numbers to ISO formats but not from ISO format to the way you are expecting. May be you can create a generic rule and use along your application instead as it is a very minor and easy to handle requirement.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert numbers to Thousand/Million Symbol</title><link>https://community.appian.com/thread/124794?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 05:05:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6a10f7c9-6c5a-4a26-a7c0-92953e83d1e8</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;Then Why don&amp;#39;t you&amp;nbsp; divide the value with million and just Add &amp;quot;in Millions&amp;quot; Tag.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert numbers to Thousand/Million Symbol</title><link>https://community.appian.com/thread/124793?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 05:02:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:46ef9944-b502-41f4-a69b-8a1a4589739e</guid><dc:creator>Yamaken</dc:creator><description>&lt;p&gt;currently doing a columnChartField() and would like shorten the value on the amount to Thousand/Million symbol on the a!measure formatValue as well as the Y-axis&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert numbers to Thousand/Million Symbol</title><link>https://community.appian.com/thread/124792?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2024 04:58:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:31134b52-9e00-44ac-aee0-848da5042fd4</guid><dc:creator>venkatrea696188</dc:creator><description>&lt;p&gt;AFAIK&amp;nbsp; there isn&amp;#39;t such function , Check is there any plug ins available (I don&amp;#39;t think there is any Plugins too). Can we know why do wanna convert , So we can think of other ways&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>