<?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>Français (French)</title><link>https://www.infopathdev.com:443/forums/37.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Addition de champs</title><link>https://www.infopathdev.com:443/forums/thread/1061.aspx</link><pubDate>Thu, 08 Feb 2007 15:31:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1061</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1061.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1061</wfw:commentRss><description>Ah ouais c'est juste moi ce que j'ai mis c'est du Javascript...</description></item><item><title>Re: Addition de champs</title><link>https://www.infopathdev.com:443/forums/thread/1060.aspx</link><pubDate>Thu, 08 Feb 2007 15:22:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1060</guid><dc:creator>diaboloche</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1060.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1060</wfw:commentRss><description>Cela ne fonctionne pas...&lt;br /&gt;Néanmoins tu m'as mis sur la piste et j'ai trouvé : parseInt...&lt;br /&gt;Merci Virgul !</description></item><item><title>Re: Addition de champs</title><link>https://www.infopathdev.com:443/forums/thread/1059.aspx</link><pubDate>Thu, 08 Feb 2007 15:14:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1059</guid><dc:creator>Coita Thierry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1059.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=1059</wfw:commentRss><description>vartoint(PoidsNet&lt;i&gt;) ou strtoint(PoidsNet&lt;i&gt;) dépend du type que tu as</description></item><item><title>Addition de champs</title><link>https://www.infopathdev.com:443/forums/thread/453.aspx</link><pubDate>Thu, 08 Feb 2007 15:09:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:453</guid><dc:creator>diaboloche</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/453.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=37&amp;PostID=453</wfw:commentRss><description>Re-Salut...&lt;br /&gt;&lt;br /&gt;Problème très bête... mais je n'y arrive pas.&lt;br /&gt;Je souhaite connaître la syntaxe exacte pour l'adition de champs.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;	var PoidsNet = XDocument.GetDOM("GetBalles").selectNodes("dfs:myFields/dfs:dataFields/tns:GetBallesResponse/tns:GetBallesResult/NewDataSet/tbBalles/POIDSNET2");&lt;br /&gt;	&lt;br /&gt;	var menu=XDocument.DOM.selectSingleNode("my:mesChamps/my:partie1/my:ajout/my:creation_balles/my:manuelle/my:menu_select").text;&lt;br /&gt;	&lt;br /&gt;	var Nbre2 = 0;&lt;br /&gt;	var Cpt=0;&lt;br /&gt;	var Poids=0;&lt;br /&gt;		&lt;br /&gt;	if(menu=="2")&lt;br /&gt;	for(var i=0; i&amp;lt;Selection.length; i++)&lt;br /&gt;		if( (NumAnnonce&lt;i&gt;.text==comboAnnonce || comboAnnonce=="") &amp;&amp; (IDType&lt;i&gt;.text==comboType || comboType=="") &amp; Etat2&lt;i&gt;.text=="true" )&lt;br /&gt;			Poids+=PoidsNet&lt;i&gt;;		&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Lorsque j'affiche Poids il est égal à 0 (alors qu'il devrait être égal à 10. Si je mets "Poids+=PoidsNet&lt;i&gt;.text" alors après affichage je vois que Poids est = 010...&lt;br /&gt;Comment puis-je faire pour obtenir 10 sèchement en tant que int.</description></item></channel></rss>