<?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 number to digits</title><link>https://community.appian.com/discussions/f/user-interface/23341/convert-number-to-digits</link><description>Hi 
 I want to convert the number to 8 digits for example if the ID equals 19 the result should be 00000019 by adding six zeros before the value.can I solve this proplem using for each ?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Convert number to digits</title><link>https://community.appian.com/thread/89664?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 07:22:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5fe6e4b1-4ed8-4a9b-9e41-80e9c73f75a5</guid><dc:creator>bharathwajanr0001</dc:creator><description>&lt;p&gt;text(ri!num, &amp;quot;00000000&amp;quot;), rule input - num would be of type interger(number) . you can also validate for null as well, because if you pass null value to tezt function , you will get an error. Check the null validation and call the text function as given above.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Convert number to digits</title><link>https://community.appian.com/thread/89663?ContentTypeID=1</link><pubDate>Wed, 12 Jan 2022 06:54:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:de85ba56-a9de-4a5f-8ccf-3db65306835b</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Did you check the text() function? A formatting pattern like &amp;quot;00000000&amp;quot; should get you what you want.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>