<?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>toxml() is updating Double/Decimal values</title><link>https://community.appian.com/discussions/f/general/8363/toxml-is-updating-double-decimal-values</link><description>Hi, We have a CDT (testCDT) with one attribute of type Number(Decimal). When we have attribute value as 0.00055, toxml(testCDT) returns value as &amp;#39;5.5E-4&amp;#39; Does anyone know how to avoid this. Thanks, Jayashri OriginalPostID-233503</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: toxml() is updating Double/Decimal values</title><link>https://community.appian.com/thread/36658?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2016 19:59:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d22e5724-f612-4d84-9c2f-eb47828660fa</guid><dc:creator>jayashrib223</dc:creator><description>Thanks Kacie and Stefanh! Stefanh, based on this document for Double it&amp;#39;s valid but we have data type Decimal.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: toxml() is updating Double/Decimal values</title><link>https://community.appian.com/thread/36626?ContentTypeID=1</link><pubDate>Thu, 08 Sep 2016 00:30:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5e3549b0-1430-455c-94d4-0bd7d3722b05</guid><dc:creator>Stefan Helzle</dc:creator><description>When I check the XML documentation, scientific notation is valid. See &lt;a href="https://www.safaribooksonline.com/library/view/xml-schema/0596002521/ch04s04.html"&gt;www.safaribooksonline.com/.../ch04s04.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: toxml() is updating Double/Decimal values</title><link>https://community.appian.com/thread/36624?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2016 21:38:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1767ed6e-9a78-4742-ba53-cc11b43e6f35</guid><dc:creator>kacie.bail</dc:creator><description>Hi! I think if you use toxml(fixed(testCDT,5)) it should solve your issue. If you need this to be more dynamic to account for varying numbers after the decimal, I think you might be able to create a separate rule to do this.&lt;br /&gt;&lt;br /&gt;Here&amp;#39;s some more information too about the fixed function: &lt;a href="https://forum.appian.com/suite/help/16.2/Text_Functions.html#fixed.28.29"&gt;forum.appian.com/.../Text_Functions.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>