<?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>To convert a big number&amp;#39;s datatype from text to decimal</title><link>https://community.appian.com/discussions/f/rules/9096/to-convert-a-big-number-s-datatype-from-text-to-decimal</link><description>I am fetching a large number like &amp;#39;9999999.99&amp;#39; from the database where it is in nvarchar. Can we convert it in decimal to compare it with other numbers? Using fn!todecimal is not working here, Is their any work around? Thanks in Advance. OriginalPostID</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: To convert a big number's datatype from text to decimal</title><link>https://community.appian.com/thread/40600?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2016 13:15:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d95bd32d-356d-4bfa-aa39-6680e6bacd3e</guid><dc:creator>Arun Theja Muthyalu</dc:creator><description>@deepanshua you are welcome :)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To convert a big number's datatype from text to decimal</title><link>https://community.appian.com/thread/40598?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2016 13:05:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a43490fe-3bc5-46ee-bc1d-c1b4a935dde5</guid><dc:creator>deepanshua</dc:creator><description>@arunthejam Thanks!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To convert a big number's datatype from text to decimal</title><link>https://community.appian.com/thread/40597?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2016 12:31:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2bc22634-98dc-4bb0-9d62-4f74a4fdc9a8</guid><dc:creator>Arun Theja Muthyalu</dc:creator><description>@deepanshua fn!todecimal(9999999.99) returns a Decimal value 1e+07 (a shorthand notation which just means one times ten to the power of 7)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: To convert a big number's datatype from text to decimal</title><link>https://community.appian.com/thread/40596?ContentTypeID=1</link><pubDate>Tue, 20 Dec 2016 12:26:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:db64c204-836a-4440-9761-9f4796be5a57</guid><dc:creator>Arun Theja Muthyalu</dc:creator><description>@deepanshua The value returned by fn!todecimal(9999999.99) can be used to compare with other numbers. For instance fn!todecimal(9999999.99) &amp;lt; 1 returns false.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>