<?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>Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/discussions/f/user-interface/23263/decimal-value-getting-round-off-after-7-digits</link><description>We are facing issue like the value is Number(Decimal) when user enters - 1595739.56 it gets round of to – 1595740 . Which is a concern here. Also any number which is of 7 or more than 7 digit are getting round of. 
 We understand appian recommends the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/147137?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 18:17:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:66d491f6-fed9-46a1-be82-90f104589294</guid><dc:creator>vishalini</dc:creator><description>&lt;p&gt;Thank you &lt;a href="/members/stefanhelzle0001"&gt;Stefan Helzle&lt;/a&gt;&amp;nbsp;, It worked with text() function&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/147135?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 17:34:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c5caf251-4109-440c-9ef8-b7dab1c025e0</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Well, then you are good to go.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/147134?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 17:29:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dc1430d1-75ea-4dc3-b714-aa6372ac5449</guid><dc:creator>vishalini</dc:creator><description>&lt;p&gt;I need use that value in one of the decimal type field as an input&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/147129?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 16:28:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:16defaf8-b1cc-4322-a381-0f5dc109ccef</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Then you are fine. When Appian displays any value, it needs to convert it into text. Your screen can only display text. And it does so using a simple approach rounding values to one digit.&lt;/p&gt;
&lt;p&gt;Now, my question is, what do you want to do with that output? Display it on screen, then use the text() function to do so.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/147128?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 15:56:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f1cfc661-aeb2-47c7-95d8-2363873b98d3</guid><dc:creator>vishalini</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/stefanhelzle0001"&gt;Stefan Helzle&lt;/a&gt;&amp;nbsp;,&lt;/p&gt;
&lt;p&gt;well! I am trying to subtract two decimal values and the out put I am getting it decimal value with roundup&lt;/p&gt;
&lt;p&gt;ex: local!a: 1234567.79,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; local!b:0.01,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; local!c: local!a - local!b&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; local!c&lt;br /&gt; &lt;br /&gt; returns&lt;br /&gt; 1234567.8&lt;br /&gt; &lt;br /&gt; but I need the out put with actual decimal value with out roud-up value i.e., 1234567.78&lt;/p&gt;
&lt;p&gt;I tried to use fixed function to get the exact value but it returns the text type as out put, I need the output as decimal type.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/147120?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 14:52:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:187c3439-8c68-4cdd-9056-d87adf961d70</guid><dc:creator>Stefan Helzle</dc:creator><description>[quote userid="255523" url="~/discussions/f/user-interface/23263/decimal-value-getting-round-off-after-7-digits/147117"]exact output but in return with decimal type without rounding the decimal point numbers[/quote]
&lt;p&gt;What exactly do you mean by that? Can you visualize this somehow?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/147117?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 14:14:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2fb4d364-165c-435e-b7a6-593700d948a1</guid><dc:creator>vishalini</dc:creator><description>&lt;p&gt;Hi, I need the exact output but in return with decimal type without rounding the decimal point numbers, can someone help here please&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/133595?ContentTypeID=1</link><pubDate>Wed, 17 Apr 2024 05:35:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c38a011e-5a83-40f9-9ba2-f414fc578352</guid><dc:creator>maaaaj0001</dc:creator><description>&lt;p&gt;Hi &amp;nbsp;&lt;/p&gt;
&lt;p&gt;The output is of type text, but the requirement is to get output as decimal field&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/133567?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2024 17:07:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5af75214-6d66-4686-9274-0e64e621cb76</guid><dc:creator>Karumuru Abhishek</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;text(sum(7654321.50 , 75973.20),&amp;quot;#.00&amp;quot;)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/manvithj0001"&gt;maaaaj0001&lt;/a&gt;&amp;nbsp; could you try this let me know this meets your requirement&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/133565?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2024 16:31:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dfe60d37-d7f8-4da0-96af-796c8a97a49c</guid><dc:creator>Karumuru Abhishek</dc:creator><description>&lt;p&gt;hi &lt;a href="/members/manvithj0001"&gt;maaaaj0001&lt;/a&gt;&amp;nbsp; Could you raise this as new thread and post your query please&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/133548?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2024 12:32:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f1dfffeb-da0f-46d3-9055-ee7b6a448ab9</guid><dc:creator>maaaaj0001</dc:creator><description>&lt;p&gt;Hello Stefan,&lt;/p&gt;
&lt;p&gt;Even I am facing similar issue here, I need a sum of list of decimal field values(more than 7 digit value), and required output to be in decimal field with 2 number of digits after decimal point.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;sum({7654321.50 , 75973.20})&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;But I am either getting value rounded of or else it will be in exponential. Could you pls help me with it&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/96494?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2022 10:07:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:40834264-13a1-49b0-bcfd-83c1d1a1cddd</guid><dc:creator>Thenmozhi Mohanakrishnan</dc:creator><description>&lt;p&gt;oh yeah, it worked. Thanks  &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f60a.svg" title="Blush"&gt;&amp;#x1f60a;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/96492?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2022 09:30:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:62aa7609-c9ed-4ebc-8067-87745130923f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Please have a look at your test inputs. You entered an integer value which Appian then tries to convert into a decimal. Make it 99999999999.0 and it will work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/96486?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2022 08:37:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:12c6a442-dfc6-4c91-b193-a3272579a6e0</guid><dc:creator>Thenmozhi Mohanakrishnan</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1655714239964v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Here is my code, it returns false for me&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/96485?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2022 08:34:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fd9e87e6-fde1-492a-92d7-8c8e0c0359e3</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Your example works perfectly for me. Can you share some code?&lt;/p&gt;
&lt;p&gt;Your rule inputs are already decimals. There is no need to somehow try to convert them into decimals.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/96484?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2022 08:25:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:23b2237f-dad7-47ad-94d4-d10633c80642</guid><dc:creator>Thenmozhi Mohanakrishnan</dc:creator><description>&lt;p&gt;&amp;nbsp;I am facing an issue while comparing two decimal values to find whether one is greater than the other. I tried using fixed and todecimal functions, but&amp;nbsp;the result is not as expected.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2 rule inputs:&lt;/span&gt;&lt;br /&gt;&lt;span&gt;invoiceTotalAmount (Number Decimal) - value:&amp;nbsp;99999999999&lt;br /&gt;invoiceItemAmounts (Number Decimal &lt;strong&gt;Array&lt;/strong&gt;) - value: {99999999999,2}&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;Expression:&lt;br /&gt;sum(ri!&lt;span&gt;invoiceItemAmounts) &amp;gt; ri!invoiceTotalAmount returns false [Expected: true].&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/89313?ContentTypeID=1</link><pubDate>Thu, 23 Dec 2021 22:41:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:86e11065-33df-46b8-b07b-d58eebd724d0</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;Your problem is a well known one.&amp;nbsp; You said you have 15 to 18 decimal digits, well that&amp;#39;s more than Java Double holds.&amp;nbsp; It only has 15-16 significant digits, with a whole&amp;nbsp;swath of values that can&amp;#39;t be properly expressed at that precision.&amp;nbsp; Answer:&lt;/p&gt;
&lt;p&gt;Appian, going to make this a Feature Request thread.&amp;nbsp; Create a new datatype that maps to Java BigDecimal.&amp;nbsp; I seriously don&amp;#39;t know how you haven&amp;#39;t already.&amp;nbsp; BigDecimal was invented because Double isn&amp;#39;t good enough for financial calculations.&amp;nbsp; People use your platform to make business apps that do financial calculations.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/89312?ContentTypeID=1</link><pubDate>Thu, 23 Dec 2021 16:56:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8a3f9606-80eb-4016-b521-d02a3eea1eab</guid><dc:creator>kiranjorwekar</dc:creator><description>&lt;p&gt;okay..thanks Stefan for details.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/89309?ContentTypeID=1</link><pubDate>Thu, 23 Dec 2021 14:40:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b28a5f69-388f-410d-9fe9-54a8a26db25b</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What I want to say is that Appian does not round your decimals. Appian directly uses a Java double to store these values. And AFAIK there is no other way, with the exception of mapping to text.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/89302?ContentTypeID=1</link><pubDate>Thu, 23 Dec 2021 02:17:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:08fce2d9-8445-4100-a236-f7438e51e917</guid><dc:creator>kiranjorwekar</dc:creator><description>&lt;p&gt;Thanks Stefan for quick reply, yes the text function is really helpful, but as I have almost 15 to 18 decimal fields and are used in calculations so convert them to text and again if you use that text value to store in database of type decimal, it will get round off again same issue. For display text function is useful but storing those many required dB changes column to varchar, so instead am looking for any long or big decimal in Appian as used in Java?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Decimal value getting round off after 7 digits.</title><link>https://community.appian.com/thread/89294?ContentTypeID=1</link><pubDate>Wed, 22 Dec 2021 07:17:51 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5dd1327f-95e9-4639-b072-6f016e8826a9</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;This is just a matter of how Appian displays values. This is also documented.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/21.4/Appian_Data_Types.html#number-(decimal)"&gt;https://docs.appian.com/suite/help/21.4/Appian_Data_Types.html#number-(decimal)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;For forms, use one of the following Text Functions to display a decimal number as a default value to avoid rounding.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1640157340161v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>