<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PCFreek.dk</title>
	<atom:link href="http://www.pcfreek.dk/feed" rel="self" type="application/rss+xml" />
	<link>http://www.pcfreek.dk</link>
	<description>Tech Blog</description>
	<lastBuildDate>Sun, 12 Feb 2012 16:58:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Please install apple application support?</title>
		<link>http://www.pcfreek.dk/andre/please-install-apple-application-support.html</link>
		<comments>http://www.pcfreek.dk/andre/please-install-apple-application-support.html#comments</comments>
		<pubDate>Sun, 12 Feb 2012 16:58:25 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Andre]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[ITunes]]></category>
		<category><![CDATA[Quicktime]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.pcfreek.dk/?p=682</guid>
		<description><![CDATA[Please install apple application support?]]></description>
			<content:encoded><![CDATA[<p>Quicktime and Application Support are separate components. Once you've lost one of the components you're better off to remove them all in the order specified in the link below, then download and reinstall a new lot. On Apple's website you can see how to uninstalling and reinstall all components on your PC.</p>
<p>http://support.apple.com/kb/HT1923</p>
<p>Source:</p>
<p>http://answers.yahoo.com/question/index?qid=20110520205810AArJnh9</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pcfreek.dk/andre/please-install-apple-application-support.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>distanceFromLocation: Calculate distance between two points</title>
		<link>http://www.pcfreek.dk/mac-osx/distancefromlocation-calculate-distance-between-two-points.html</link>
		<comments>http://www.pcfreek.dk/mac-osx/distancefromlocation-calculate-distance-between-two-points.html#comments</comments>
		<pubDate>Sat, 11 Feb 2012 16:06:58 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[SDK]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.pcfreek.dk/?p=678</guid>
		<description><![CDATA[Calculate distance between two points.]]></description>
			<content:encoded><![CDATA[<p><pre><code>CLLocation *location1 = [[CLLocation alloc] initWithLatitude:57.052443 longitude:9.910623];
CLLocation *location2 = [[CLLocation alloc] initWithLatitude:57.0533791 longitude:9.9052496];
&nbsp;&nbsp;
float betweenDistance=[location1 distanceFromLocation:location2];
&nbsp;&nbsp;
NSLog(@&quot;Distance is %f km&quot;,betweenDistance/1000);</code></pre></p>
<p>Will output "Distance is 0.340660 km"</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pcfreek.dk/mac-osx/distancefromlocation-calculate-distance-between-two-points.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Problems handling special characters in Air Video</title>
		<link>http://www.pcfreek.dk/apple-tv-2/problems-handling-special-characters-in-air-video.html</link>
		<comments>http://www.pcfreek.dk/apple-tv-2/problems-handling-special-characters-in-air-video.html#comments</comments>
		<pubDate>Sat, 28 Jan 2012 01:52:49 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Apple TV]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Air Video]]></category>
		<category><![CDATA[Apple tv]]></category>
		<category><![CDATA[Apple tv2]]></category>
		<category><![CDATA[ATV]]></category>
		<category><![CDATA[ATV2]]></category>
		<category><![CDATA[IPad]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.pcfreek.dk/?p=675</guid>
		<description><![CDATA[I had problems with handling nordic character (æ-ø-å) correct in my Air Video server]]></description>
			<content:encoded><![CDATA[<p>I had problems with handling nordic character (æ-ø-å) correct in my Air Video server, but I find a simple fix for it.</p>
<p>Under Air Video Server Click on Options / preferences, go to Subtitles. Change "Default Encoding" to Western (ISO Latin 1; ISO 8859-1).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pcfreek.dk/apple-tv-2/problems-handling-special-characters-in-air-video.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DOMContentLoaded could not load a function()</title>
		<link>http://www.pcfreek.dk/javascript/domcontentloaded-could-not-load-a-function.html</link>
		<comments>http://www.pcfreek.dk/javascript/domcontentloaded-could-not-load-a-function.html#comments</comments>
		<pubDate>Fri, 27 Jan 2012 10:01:09 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[iScroll]]></category>

		<guid isPermaLink="false">http://www.pcfreek.dk/?p=670</guid>
		<description><![CDATA[I ran into a problem where my DOMContentLoaded could not load a function(); on a specific version of Appcelerator (Titanium).]]></description>
			<content:encoded><![CDATA[<p>I ran into a problem where my DOMContentLoaded could not load a function(); on a specific version of Appcelerator (Titanium). Like:</p>
<p><pre><code>&lt;script type=&quot;text/javascript&quot;&gt;
var scroll1, scroll2, myScroll;
function loaded() {
&nbsp;&nbsp;//iScroll - Scroll up and down
&nbsp;&nbsp;scroll1 = new iScroll(&#039;RightContent&#039;, { useTransition:true });
&nbsp;&nbsp;scroll2 = new iScroll(&#039;MainContent2&#039;, { useTransition:true });
&nbsp;&nbsp;//iScroll - Snap left and right
&nbsp;&nbsp;myScroll = new iScroll(&#039;wrapper&#039;, {
&nbsp;&nbsp;&nbsp;&nbsp;snap: true,
&nbsp;&nbsp;&nbsp;&nbsp;momentum: false,
&nbsp;&nbsp;&nbsp;&nbsp;hScrollbar: false,
&nbsp;&nbsp;&nbsp;&nbsp;onScrollEnd: function () {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.querySelector(&#039;#indicator &gt; li.active&#039;).className = &#039;&#039;;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.querySelector(&#039;#indicator &gt; li:nth-child(&#039; + (this.currPageX+1) + &#039;)&#039;).className = &#039;active&#039;;
&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp; });
}
document.addEventListener(&#039;touchmove&#039;, function (e) { e.preventDefault(); }, false);
document.addEventListener(&#039;DOMContentLoaded&#039;, loaded, false);
&lt;/script&gt;</code></pre></p>
<p>But if I changed it so DOMContentLoaded loaded the code directly it worked again.</p>
<p><pre><code>&lt;script type=&quot;text/javascript&quot;&gt;
document.addEventListener(&#039;touchmove&#039;, function (e) { e.preventDefault(); }, false);
window.addEventListener(&#039;DOMContentLoaded&#039;, function () {

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var scroll1, scroll2, myScroll;
&nbsp;&nbsp;//iScroll - Scroll up and down
&nbsp;&nbsp;scroll1 = new iScroll(&#039;RightContent&#039;, { useTransition:true });
&nbsp;&nbsp;scroll2 = new iScroll(&#039;MainContent2&#039;, { useTransition:true });
&nbsp;&nbsp;
&nbsp;&nbsp;//iScroll - Snap left and right
&nbsp;&nbsp;myScroll = new iScroll(&#039;wrapper&#039;, {
&nbsp;&nbsp;&nbsp;&nbsp;snap: true,
&nbsp;&nbsp;&nbsp;&nbsp;momentum: false,
&nbsp;&nbsp;&nbsp;&nbsp;hScrollbar: false,
&nbsp;&nbsp;&nbsp;&nbsp;onScrollEnd: function () {
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.querySelector(&#039;#indicator &gt; li.active&#039;).className = &#039;&#039;;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;document.querySelector(&#039;#indicator &gt; li:nth-child(&#039; + (this.currPageX+1) + &#039;)&#039;).className = &#039;active&#039;;
&nbsp;&nbsp;&nbsp;&nbsp;}
&nbsp;&nbsp; });
});
&lt;/script&gt;</code></pre></p>
<p>Hope this will help other in the same situation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pcfreek.dk/javascript/domcontentloaded-could-not-load-a-function.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to view Bcc in Outlook 2007 and 2011</title>
		<link>http://www.pcfreek.dk/andre/how-to-view-bcc-in-outlook-2007-and-2011.html</link>
		<comments>http://www.pcfreek.dk/andre/how-to-view-bcc-in-outlook-2007-and-2011.html#comments</comments>
		<pubDate>Fri, 20 Jan 2012 07:49:35 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Andre]]></category>

		<guid isPermaLink="false">http://www.pcfreek.dk/?p=665</guid>
		<description><![CDATA[Create a new email message. Click on Bcc under Options]]></description>
			<content:encoded><![CDATA[<p>Create a new email message.<br />
Click on Bcc under Options</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pcfreek.dk/andre/how-to-view-bcc-in-outlook-2007-and-2011.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Force iScroll to refresh</title>
		<link>http://www.pcfreek.dk/javascript/force-iscroll-to-refresh.html</link>
		<comments>http://www.pcfreek.dk/javascript/force-iscroll-to-refresh.html#comments</comments>
		<pubDate>Thu, 12 Jan 2012 11:24:40 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[IPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iScroll]]></category>

		<guid isPermaLink="false">http://www.pcfreek.dk/?p=663</guid>
		<description><![CDATA[If you add or remove items inside your content. You need to refresh your iScroll script. ]]></description>
			<content:encoded><![CDATA[<p>If you add or remove items inside your content. You need to refresh your iScroll script. </p>
<p>Insert this javascript line.<br />
<code>setTimeout(function () { myScroll.refresh(); }, 0);</code></p>
<p>myScroll is the name of your call like:<br />
<code>myScroll = new iScroll(&#039;RightContent&#039;, { useTransition:true });</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pcfreek.dk/javascript/force-iscroll-to-refresh.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Touch Scroll for Iphone and Ipad with finger scrolling</title>
		<link>http://www.pcfreek.dk/javascript/touch-scroll-for-iphone-and-ipad-with-finger-scrolling.html</link>
		<comments>http://www.pcfreek.dk/javascript/touch-scroll-for-iphone-and-ipad-with-finger-scrolling.html#comments</comments>
		<pubDate>Wed, 11 Jan 2012 13:12:18 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[IPad]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iScroll]]></category>
		<category><![CDATA[Library]]></category>

		<guid isPermaLink="false">http://www.pcfreek.dk/?p=661</guid>
		<description><![CDATA[While there are plenty of frameworks (e.g. jQuery Mobile, SenchaTouch, etc.) that can help get you started with mobile web apps. I found a pure JavaScript library called iScroll 4 very helpfull to create mobile websites.]]></description>
			<content:encoded><![CDATA[<p>While there are plenty of frameworks (e.g. jQuery Mobile, SenchaTouch, etc.) that can help get you started with mobile web apps. I found a pure JavaScript library called <a href="http://cubiq.org/iscroll-4">iScroll 4</a> very helpfull to create mobile websites. It have a list of nice features like:<br />
'Scroll up and down'<br />
'Snap to element'<br />
'Pinch / Zoom'</p>
<p>iScroll support both iPhone/Ipod touch, iPad and Android.</p>
<p>In this tutorial I will teach you how to use iScroll 4 and implement a pages where you can scroll a part of a window with finger up and down without moving the rest of the screen.</p>
<p>Download iScroll's javascript file from this site:<br />
http://cubiq.org/iscroll-4 - Click on download.</p>
<p>Insert this code in your <head> tag:<br />
<pre><code>&lt;script type=&quot;application/javascript&quot; src=&quot;iscroll.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
var myScroll;
function loaded() {
&nbsp;&nbsp;myScroll = new iScroll(&#039;wrapper&#039;);
}
document.addEventListener(&#039;DOMContentLoaded&#039;, loaded, false);
&lt;/script&gt;</code></pre></p>
<p>Remember to change src="iscroll.js" to where your placed the file.</p>
<p>Insert this code in your <body> tag:<br />
<pre><code>&lt;div id=&quot;wrapper&quot;&gt;
&nbsp;&nbsp;&lt;div id=&quot;scroller&quot;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Content&lt;/li&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;..
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;..
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;
&nbsp;&nbsp;&lt;/div&gt;
&lt;/div&gt;</code></pre></p>
<p>In this example the UL element will be scrolled. The iScroll must be applied to the wrapper of the scrolling area.</p>
<p>Final result:<br />
<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0&quot;&gt;
&lt;meta name=&quot;apple-mobile-web-app-capable&quot; content=&quot;yes&quot;&gt;
&lt;meta name=&quot;apple-mobile-web-app-status-bar-style&quot; content=&quot;black&quot;&gt;
&lt;title&gt;iScroll demo&lt;/title&gt;

&lt;script type=&quot;text/javascript&quot; src=&quot;../../src/iscroll.js&quot;&gt;&lt;/script&gt;

&lt;script type=&quot;text/javascript&quot;&gt;

var scroll1;
function loaded() {
&nbsp;&nbsp;scroll1 = new iScroll(&#039;standard&#039;);
}

document.addEventListener(&#039;touchmove&#039;, function (e) { e.preventDefault(); }, false);
document.addEventListener(&#039;DOMContentLoaded&#039;, loaded, false);

&lt;/script&gt;

&lt;style type=&quot;text/css&quot; media=&quot;all&quot;&gt;
ul,li {
&nbsp;&nbsp;padding:0;
&nbsp;&nbsp;margin:0;
&nbsp;&nbsp;border:0;
}

body {
&nbsp;&nbsp;font-size:12px;
&nbsp;&nbsp;-webkit-user-select:none;
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-text-size-adjust:none;
&nbsp;&nbsp;font-family:helvetica;
&nbsp;&nbsp;padding:20px;
}

#standard {
&nbsp;&nbsp;position:relative; z-index:1;
&nbsp;&nbsp;display:block; float:left;
&nbsp;&nbsp;width:300px; height:400px;
&nbsp;&nbsp;background:#aaa;
&nbsp;&nbsp;overflow:auto;
&nbsp;&nbsp;border:1px solid #aaa;
}

.scroller {
&nbsp;&nbsp;position:absolute; z-index:1;
/*&nbsp;&nbsp;-webkit-touch-callout:none;*/
&nbsp;&nbsp;-webkit-tap-highlight-color:rgba(0,0,0,0);
&nbsp;&nbsp;width:100%;
&nbsp;&nbsp;padding:0;
}

.scroller ul {
&nbsp;&nbsp;list-style:none;
&nbsp;&nbsp;padding:0;
&nbsp;&nbsp;margin:0;
&nbsp;&nbsp;width:100%;
&nbsp;&nbsp;text-align:left;
}

.scroller li {
&nbsp;&nbsp;padding:0 10px;
&nbsp;&nbsp;height:40px;
&nbsp;&nbsp;line-height:40px;
&nbsp;&nbsp;border-bottom:1px solid #ccc;
&nbsp;&nbsp;border-top:1px solid #fff;
&nbsp;&nbsp;background-color:#fafafa;
&nbsp;&nbsp;font-size:14px;
}

#myFrame {
&nbsp;&nbsp;position:absolute;
&nbsp;&nbsp;top:0; left:0;
}

&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;div id=&quot;standard&quot;&gt;
&nbsp;&nbsp;&lt;div class=&quot;scroller&quot;&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&lt;ul&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;&lt;strong&gt;Standard iScroll&lt;/strong&gt;&lt;/li&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Pretty row 2&lt;/li&gt;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Pretty row 3&lt;/li&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Pretty row 4&lt;/li&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Pretty row 5&lt;/li&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Pretty row 6&lt;/li&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Pretty row 7&lt;/li&gt;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;li&gt;Pretty row 8&lt;/li&gt;

&nbsp;&nbsp;&nbsp;&nbsp;&lt;/ul&gt;
&nbsp;&nbsp;&lt;/div&gt;
&lt;/div&gt;

&lt;/body&gt;
&lt;/html&gt;</code></pre></p>
]]></content:encoded>
			<wfw:commentRss>http://www.pcfreek.dk/javascript/touch-scroll-for-iphone-and-ipad-with-finger-scrolling.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple TV Remote Conflicts with MacBook</title>
		<link>http://www.pcfreek.dk/apple-tv-2/apple-tv-remote-conflicts-with-macbook.html</link>
		<comments>http://www.pcfreek.dk/apple-tv-2/apple-tv-remote-conflicts-with-macbook.html#comments</comments>
		<pubDate>Wed, 28 Dec 2011 16:49:42 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[Apple TV]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Apple tv]]></category>
		<category><![CDATA[Apple tv2]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[ITunes]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Remote]]></category>

		<guid isPermaLink="false">http://www.pcfreek.dk/?p=659</guid>
		<description><![CDATA[When using the remote for the AppleTV, it also messing with iTunes on the Macbook.]]></description>
			<content:encoded><![CDATA[<p>When using the remote for the AppleTV, it also messing with iTunes on the Macbook. You can turn that off, go to:</p>
<p>1. System Preferences<br />
2. Security<br />
3. Click on "Click the lock to make changes"<br />
4. Mark "Disable remote control infrared receiver"</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pcfreek.dk/apple-tv-2/apple-tv-remote-conflicts-with-macbook.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using htaccess with URLs containing question marks</title>
		<link>http://www.pcfreek.dk/htaccess/using-htaccess-with-urls-containing-question-marks.html</link>
		<comments>http://www.pcfreek.dk/htaccess/using-htaccess-with-urls-containing-question-marks.html#comments</comments>
		<pubDate>Sat, 24 Dec 2011 17:27:29 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Rewrite]]></category>

		<guid isPermaLink="false">http://www.pcfreek.dk/?p=639</guid>
		<description><![CDATA[Using htaccess with URLs containing question marks]]></description>
			<content:encoded><![CDATA[<p>1. Open notepad and save the file as .htaccess (without .txt no extension)<br />
2. Insert this inside the file.</p>
<p>Options +FollowSymLinks<br />
RewriteEngine on</p>
<p>RewriteCond %{QUERY_STRING} ^id=58$<br />
RewriteRule ^view\.asp$ http://www.domain.com/?p=58 [R=301,L]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pcfreek.dk/htaccess/using-htaccess-with-urls-containing-question-marks.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to round up a number using VBScript?</title>
		<link>http://www.pcfreek.dk/vbscript/how-to-round-up-a-number-using-vbscript.html</link>
		<comments>http://www.pcfreek.dk/vbscript/how-to-round-up-a-number-using-vbscript.html#comments</comments>
		<pubDate>Wed, 14 Dec 2011 11:26:51 +0000</pubDate>
		<dc:creator>webmaster</dc:creator>
				<category><![CDATA[VBScript]]></category>

		<guid isPermaLink="false">http://www.pcfreek.dk/?p=636</guid>
		<description><![CDATA[If the number after the decimal point is greater than 0, then round up to the next highest integer.]]></description>
			<content:encoded><![CDATA[<p>If the number after the decimal point is greater than 0, then round up to the next highest integer.</p>
<p>1.12 will become 2<br />
3.68 will become 4<br />
3.00 will become 3</p>
<p><pre><code>var NumberOfPage = 2.56
int(NumberOfPage+(abs(fix(NumberOfPage)&lt;&gt;NumberOfPage)))</code></pre></p>
<p>Output:<br />
3</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pcfreek.dk/vbscript/how-to-round-up-a-number-using-vbscript.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.569 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-22 11:33:40 -->
<!-- Compression = gzip -->
