<?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>Special character getting appended to a negative decimal value.</title><link>https://community.appian.com/discussions/f/general/27709/special-character-getting-appended-to-a-negative-decimal-value</link><description>Hi All, 
 As per requirement, I have to send data in CSV with pipe separated, but for decimal data as highlighted in screenshot, its appending with &amp;#39; before the actual value in the decimal. 
 I&amp;#39;m using a DB view to construct the required data and pass</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Special character getting appended to a negative decimal value.</title><link>https://community.appian.com/thread/111867?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2023 08:55:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fe295365-1cff-40e8-8135-40c49f42ac3f</guid><dc:creator>sanchitg0002</dc:creator><description>&lt;p&gt;you can convert a number with scientific notation to normal text string using fixed() function.&lt;/p&gt;
&lt;p&gt;&lt;img height="97" src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1682585787374v1.png" width="203" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Special character getting appended to a negative decimal value.</title><link>https://community.appian.com/thread/111865?ContentTypeID=1</link><pubDate>Thu, 27 Apr 2023 08:31:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2d819e7e-78ee-432a-9c51-25b9b59e5949</guid><dc:creator>EMueller</dc:creator><description>&lt;p&gt;Hi Abhay,&lt;/p&gt;
&lt;p&gt;I tried opening it with my text editor, but for my case the special character is actually part of the value. The number is of type string in the database. Otherwise&amp;nbsp;large numbers would be converted to scientific notation, so something like 7+e, when converting to CSV.&lt;/p&gt;
&lt;p&gt;Do you know a way to either&lt;/p&gt;
&lt;p&gt;- remove/prevent the special character&amp;nbsp;&lt;/p&gt;
&lt;p&gt;or&lt;/p&gt;
&lt;p&gt;- convert numbers to CSV without scientific notation?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Special character getting appended to a negative decimal value.</title><link>https://community.appian.com/thread/107751?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2023 18:54:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:49b5a0ab-6f32-4d83-b4d1-db7cb3720457</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>&lt;p&gt;It is excel&amp;#39;s way of displaying the numeric value in text. &amp;quot; &amp;#39; &amp;quot; is not part of actual value. Try to view .csv in text editor and you won&amp;#39;t see &amp;quot; &amp;#39; &amp;quot;.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Special character getting appended to a negative decimal value.</title><link>https://community.appian.com/thread/107737?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2023 16:21:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e09dc528-7750-414d-9eaa-178645ec430b</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Other than the suggestion above, I might try casting the value to varchar() in the view and updating the CDT to string, to see if that resolves.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Special character getting appended to a negative decimal value.</title><link>https://community.appian.com/thread/107729?ContentTypeID=1</link><pubDate>Fri, 10 Feb 2023 14:26:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5807476f-1114-4d8e-9831-c7e3ce0884a8</guid><dc:creator>shuaibs6722</dc:creator><description>&lt;p&gt;I suggest to validate the Table structure that the data type in table is Decimal only, I tried to use the DSE to CSV smart service with negative decimal values in the DB and it is exporting as expected. Also check if the CDT and the Table have the same data type.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>