<?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 "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/102079.aspx</link><pubDate>Wed, 08 Apr 2015 20:20:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102079</guid><dc:creator>Gracie</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102079.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=102079</wfw:commentRss><description>&lt;p&gt;Hi Clay,&lt;/p&gt;&lt;p&gt;I have a similar situation.&amp;nbsp; But I can&amp;#39;t change the field type in&amp;nbsp;SP to text because it is being used for calculations.&amp;nbsp;&amp;nbsp;Further, my field is a text field, but it is a drop-down list box.&amp;nbsp; When the&amp;nbsp;field was&amp;nbsp;not a drop-down list box, I used the substring function to format, but this does not work for drop-down list boxes.&amp;nbsp; Do you know how to&amp;nbsp;get rid of the decimal and trailing zeroes in all of the numeric values in a drop-down list?&amp;nbsp; I am using SP 2007 and InfoPath 2010.&amp;nbsp; Thank you!&lt;/p&gt;</description></item><item><title>Re: sharepoint "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/94457.aspx</link><pubDate>Fri, 22 Nov 2013 06:18:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94457</guid><dc:creator>Kanji</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94457.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=94457</wfw:commentRss><description>Or you can try it number() it works for me in inforpath 2013.</description></item><item><title>Re: sharepoint "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/64701.aspx</link><pubDate>Tue, 01 Mar 2011 16:54:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64701</guid><dc:creator>sema atavi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64701.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=64701</wfw:commentRss><description>&lt;p&gt;you don&amp;#39;t need to set the limit to decimal. just setting the decimal places to auto does the work.&lt;/p&gt;</description></item><item><title>Re: sharepoint "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/64673.aspx</link><pubDate>Mon, 28 Feb 2011 21:37:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64673</guid><dc:creator>Jennifer Walts</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64673.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=64673</wfw:commentRss><description>&lt;p&gt;Hi, Acaspita - are you running into an issue? If so, let us know what your scenario is. I&amp;#39;m not able to replicate bharvey&amp;#39;s original problem from 2008, using InfoPath 2010 and SharePoint 2010. I set my data type to Decimal and decimal places to 0.&amp;nbsp;I may be misunderstanding Sema&amp;#39;s suggestion, but setting a character limit of 3 does limit the user from entering a four-digit number (&amp;quot;1,500&amp;quot;), which may not work in your case. Thanks&lt;/p&gt;</description></item><item><title>Re: sharepoint "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/64517.aspx</link><pubDate>Thu, 24 Feb 2011 01:25:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:64517</guid><dc:creator>sema atavi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/64517.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=64517</wfw:commentRss><description>&lt;p&gt;following worked for me&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. Set the field as a decimal &lt;/p&gt;
&lt;p&gt;2. In the decimal format set the decimal places to Auto.&lt;/p&gt;
&lt;p&gt;3. Set the number of character limits to 3&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: sharepoint "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/58736.aspx</link><pubDate>Mon, 06 Sep 2010 19:21:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58736</guid><dc:creator>Acaspita</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58736.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=58736</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; Did somebody find a solve for this?... Is there a variant... ? ... &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: sharepoint "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/53005.aspx</link><pubDate>Mon, 22 Mar 2010 16:58:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53005</guid><dc:creator>khaos</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53005.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=53005</wfw:commentRss><description>&lt;p&gt;Neil, Did you ever find a solve for this?&lt;/p&gt;</description></item><item><title>Re: sharepoint "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/36538.aspx</link><pubDate>Sat, 03 Jan 2009 17:32:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36538</guid><dc:creator>Neil McCaffery</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36538.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36538</wfw:commentRss><description>&lt;p&gt;Ok, I got excited for a second because both of those worked.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;However, the other rules I have built on that dropdown box no longer worked.&amp;nbsp; For instance, I have several rules that set the values of other fields based on the selection made in this dropdown box that I&amp;#39;m struggling with.&amp;nbsp; Using either the &amp;#39;round&amp;#39; or &amp;#39;floor&amp;#39; function returns only the integer (dropdown box still displays all of the zeros when the dropdown is activated, but switches to an integer once a value is selected), but infopath can&amp;#39;t seem to resolve that integer with the other rules.&lt;/p&gt;
&lt;p&gt;Still stumped....&lt;/p&gt;</description></item><item><title>Re: sharepoint "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/36535.aspx</link><pubDate>Sat, 03 Jan 2009 08:39:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36535</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36535.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36535</wfw:commentRss><description>&lt;pre&gt;Hi,&lt;/pre&gt;&lt;pre&gt;Use substring-before function instead of substring-after.&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: sharepoint "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/36534.aspx</link><pubDate>Sat, 03 Jan 2009 08:01:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36534</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36534.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36534</wfw:commentRss><description>&lt;pre&gt;Hi,&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;I think there may be some setting in the sharepoint. One workaround is add a whole (integer) type field to the schema. And set the default value of that field is substring-after(dropdownfield,&amp;quot;.&amp;quot;). So that you will get the value which is there in the SharePoint. When you compare the values use this value instead of drop down value.&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: sharepoint "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/36532.aspx</link><pubDate>Sat, 03 Jan 2009 06:08:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36532</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36532.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36532</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We have &lt;strong&gt;round&lt;/strong&gt; and &lt;strong&gt;floor&lt;/strong&gt; function in InfoPath to get only integer part for those fields. You can add the rule to set the same value using round function then you will get only integer part for that field.&lt;/p&gt;</description></item><item><title>Re: sharepoint "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/36529.aspx</link><pubDate>Sat, 03 Jan 2009 04:32:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36529</guid><dc:creator>Neil McCaffery</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36529.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36529</wfw:commentRss><description>&lt;p&gt;Thanks for the welcome.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;When I try to change the properties of the drop-down box which is pulling the numbers from SharePoint, I have several options under &amp;#39;Data type:&amp;#39; - Text (string), Whole Number (integer) Decimal (double), and several others which I&amp;#39;m certain won&amp;#39;t help.&lt;/p&gt;
&lt;p&gt;It would seem that &amp;#39;Whole Number&amp;#39; is the logical choice, but if I choose that, I still get a bunch of zeros after the decimal place.&amp;nbsp; When I pick &amp;#39;Decimal (double)&amp;#39;, I have the same problem.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This seems like a simple fix, yet I can&amp;#39;t figure it out.&amp;nbsp; Frustrating! :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: sharepoint "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/36526.aspx</link><pubDate>Sat, 03 Jan 2009 03:54:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36526</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36526.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36526</wfw:commentRss><description>&lt;p&gt;Hello Welcome to the Forums,&lt;/p&gt;
&lt;p&gt;You have to do setting in InfoPath, we have formatting option for decimal field in InfoPath. We have to set decimal places value 0 then first we will get the values from database with decimal after reaching the InfoPath form it will get update with our formatting.&lt;/p&gt;</description></item><item><title>Re: sharepoint "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/36521.aspx</link><pubDate>Sat, 03 Jan 2009 03:26:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:36521</guid><dc:creator>Neil McCaffery</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/36521.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=36521</wfw:commentRss><description>&lt;p&gt;I have the same issue.&amp;nbsp; When I try to format the SharePoint&amp;nbsp;numbers column as text, however, it reorders everything so that all the numbers beginning with &amp;#39;1&amp;#39; appear before all of the numbers beginning with &amp;#39;2&amp;#39;, etc.... (for example, 1, 10, 100, 101, 102, 2, 20, 200, 201, 202, etc...)&lt;/p&gt;</description></item><item><title>Re: sharepoint "numbers" come in as "decimal"</title><link>https://www.infopathdev.com:443/forums/thread/26826.aspx</link><pubDate>Wed, 27 Feb 2008 23:31:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26826</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26826.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=26826</wfw:commentRss><description>&lt;p&gt;You can change the format of the fields in SharePoint to text.&lt;/p&gt;
&lt;p&gt;Or you can use the num function or a substring to remove the extra decimals in InfoPath.&lt;/p&gt;
&lt;p&gt;You can also format text fields as to how many decimal places to show, etc.&lt;/p&gt;</description></item></channel></rss>