<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Converting decimal to hours:minutes format</title><link>https://www.infopathdev.com:443/forums/thread/60510.aspx</link><pubDate>Wed, 20 Oct 2010 03:51:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60510</guid><dc:creator>zumetabo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60510.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=60510</wfw:commentRss><description>&lt;p&gt;Worked great, I&amp;#39;m surprised I missed that post earlier.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Anyways, thanks very much for your help!&lt;/p&gt;</description></item><item><title>Re: Converting decimal to hours:minutes format</title><link>https://www.infopathdev.com:443/forums/thread/60509.aspx</link><pubDate>Wed, 20 Oct 2010 02:19:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60509</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60509.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=60509</wfw:commentRss><description>&lt;p&gt;How about this:&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:ZH-CN;mso-bidi-language:AR-SA;"&gt;&lt;a href="http://www.infopathdev.com/forums/p/16812/59010.aspx#59010"&gt;&lt;strong&gt;&lt;font color="#0000ff"&gt;Converting decimal to time&lt;/font&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Converting decimal to hours:minutes format</title><link>https://www.infopathdev.com:443/forums/thread/60500.aspx</link><pubDate>Tue, 19 Oct 2010 21:12:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:60500</guid><dc:creator>zumetabo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/60500.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=60500</wfw:commentRss><description>&lt;p&gt;I have a situation where I have to take a column of minute amounts and represent them at the bottom of the column in a hours:minutes format.&amp;nbsp; I am almost there but need one last bit of advise to get me over the hump.&amp;nbsp; I&amp;#39;ll explain where I am:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The fields where minutes are to be entered are text boxes&amp;nbsp;set to contain&amp;nbsp;whole numbers.&amp;nbsp; I have a field (data type is decimal)&amp;nbsp;that adds all of the minute fields in the column&amp;nbsp;&amp;amp; divides them by 60.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is where the problem comes in.&amp;nbsp;I have a the field at the bottom of the column that uses the following formula,&amp;nbsp; &lt;em&gt;concat(substring-before(AdlMonTotal, &amp;quot;.&amp;quot;), &amp;quot;:&amp;quot;, substring-after(AdlMonTotal, &amp;quot;.&amp;quot;) * 60)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The formula works fine except I can&amp;#39;t limit the amount of characters after the colon so there are always three digits.&amp;nbsp; If the amount of time is one hour, thirty minutes it is represented as &amp;quot;1:300&amp;quot;.&amp;nbsp; Even worse, if the amount of minutes is two then it is represented as 0:199999999 (repeating).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;So I suppose my question is, how do I fix my formula so the amount of minutes are represented properly?&amp;nbsp; Thanks very much!&lt;/p&gt;</description></item></channel></rss>