﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - decimals</title><link>http://www.intersoftsolutions.com/Community/Tags/decimals/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Webinput 4.0 removing decimals</title><link>http://www.intersoftsolutions.com/Community/Tags/decimals/</link><pubDate>Mon, 09 May 2011 23:51:36 GMT</pubDate><dc:creator>cchl</dc:creator><category>WebInput</category><category>decimals</category><description>&lt;p&gt;Hi, I am experiencing an issue with WebInput 4.0 when using comma (,) as a decimal separator. I have tried with Danish (da-DK) and Swedish (sv-SE) locale, and both are displaying the same issue. I have tried to set the locale directly on the component as well as through web.config, this had no effect.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The issue is that when entering a decimal number, the decimals are replaced with zeroes and the separator is replaces with a dot (.). Please see attached file. All input boxes were loaded with values on pageload and all looked correct. After changing the value of the third input box to 4,44 (the format looks correct while in edit mode), the value displayed is 4 .00. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I use WebFlyPostBackManager to call a save function. When calling this function and accessing the value of the changed input box, the value is now nothing. If I use en-AU as locale everything works as expected. I declare the input box as per below:&lt;br /&gt;&lt;/p&gt;&lt;pre&gt;&amp;lt;ISWebInput:WebInput ID="wiPenaltyInterestRate" runat="server"
                    Width="100%" DecimalSeparator=","&amp;gt;
                    &amp;lt;DisplayFormat Format="n" IsEnabled="True" Type="Number"&amp;gt;
                    &amp;lt;/DisplayFormat&amp;gt;
                    &amp;lt;ClientSideEvents OnAfterValueChanged="data_changed"&amp;gt;
                    &amp;lt;/ClientSideEvents&amp;gt;
                &amp;lt;/ISWebInput:WebInput&amp;gt;&lt;/pre&gt;
&lt;p&gt;I have had multiple issues with WebInput 4.0 and have had to use version 3 until now, so I would really appreciate a solution to this problem.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Christian Luckow&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>