<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Can't specify the exact number of decimals.</title><link>https://www.infopathdev.com:443/forums/thread/53453.aspx</link><pubDate>Wed, 07 Apr 2010 22:48:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53453</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53453.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=53453</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not much of a JScript guru, but &lt;a href="http://www.mredkj.com/javascript/nfbasic2.html"&gt;here&amp;#39;s&lt;/a&gt; a link that suggests that you can use &amp;#39;toFixed&amp;#39; to set the number of decimal places. The sample script looks pretty readable, so check it out and see if it helps.&lt;/p&gt;</description></item><item><title>Can't specify the exact number of decimals.</title><link>https://www.infopathdev.com:443/forums/thread/53443.aspx</link><pubDate>Wed, 07 Apr 2010 20:59:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:53443</guid><dc:creator>cdavis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/53443.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=53443</wfw:commentRss><description>&lt;p&gt;This is a code question, but the code area states Qdabra??&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am calculating cubic feet and want my answer to show with 4 decimals places.&amp;nbsp; I have the user enter the length, width, and height then I multiple them together and divide.&amp;nbsp; I get a number that has 8 decimal places and therefore, can&amp;#39;t be saved to my database (also invalid data error on the field).&lt;/p&gt;&lt;p&gt;I am using JScript and can&amp;#39;t seem to find any examples.&amp;nbsp; I have tried the ROUND function, but it only accepts one parameter.&amp;nbsp; It doesn&amp;#39;t accept the field and number of decimal places.&lt;/p&gt;&lt;p&gt;Does anyone have any examples that I could use?&amp;nbsp; I have been stuck for two days on this issue.&amp;nbsp; I am not a heavy duty coder so...help please.&amp;nbsp; :-)&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Chris &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>