<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: SHAREPOINT INFOPATH FORM NUMBERS NOT RECOGNISED</title><link>https://www.infopathdev.com:443/forums/thread/104315.aspx</link><pubDate>Mon, 12 Oct 2015 15:00:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104315</guid><dc:creator>fstaiano79</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104315.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=104315</wfw:commentRss><description>I found the solution. It was just a masking format issue.</description></item><item><title>SHAREPOINT INFOPATH FORM NUMBERS NOT RECOGNISED</title><link>https://www.infopathdev.com:443/forums/thread/104265.aspx</link><pubDate>Thu, 08 Oct 2015 10:33:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:104265</guid><dc:creator>fstaiano79</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/104265.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=104265</wfw:commentRss><description>Hi all,

I  have created a form for SharePoint in infopath and I setup a certain numbers of fields to Decimal as this will contain numbers with decimal point.
Now when I load data from database number bigger that 1000 are represented like this 1,230.80  and Infopath is displaying this red dotted and saying only numbers are allowed.
Now maybe I am stupid but the one above is a number what is the reason to display such a message? I checked the representation in the properties to allow commas separator and not allowed commas separator no difference
I have another field that sum a certain numbers of the present Fields but the issue above is screwing the all sum and the result is appearing like NaN.
I am using C# with the form I cannot understand if the issue lie with the form or the code.
I make assignments in this way:
XPathNavigator CurrentDebts = this.MainDataSource.CreateNavigator().SelectSingleNode(&amp;quot;/my:myFields/my:CurrentDebts&amp;quot;, this.NamespaceManager);
and then I use this field while retrieving data from database:
CurrentDebts.SetValue(string.Format(&amp;quot;{0:n}&amp;quot;, Convert.ToDecimal(reader[&amp;quot;CurrentDebt&amp;quot;])));
Any help would be really appreciated.

Thanks

Federico</description></item></channel></rss>