<?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>String Function Blog &#187; Conversion</title>
	<atom:link href="http://www.stringfunction.com/blog/category/conversion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stringfunction.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 11 Oct 2010 13:25:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Convert Binary and Decimal Values</title>
		<link>http://www.stringfunction.com/blog/convert-binary-and-decimal-values/</link>
		<comments>http://www.stringfunction.com/blog/convert-binary-and-decimal-values/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 10:03:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Conversion]]></category>
		<category><![CDATA[Binary]]></category>
		<category><![CDATA[Binary to Decimal]]></category>
		<category><![CDATA[Decimal]]></category>
		<category><![CDATA[Decimal to Binary]]></category>
		<category><![CDATA[Division by 2]]></category>
		<category><![CDATA[Manipulate String]]></category>
		<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[String Function]]></category>

		<guid isPermaLink="false">http://www.stringfunction.com/blog/?p=117</guid>
		<description><![CDATA[Decimal to Binary conversion is accomplished easily by determining whether the decimal number is odd or even, then successive division by 2, recording the result in binary form.







Convert Decimal to Binary
Try our Decimal to Binary Converter
As an example, the decimal number 153 is odd.

 The rightmost binary digit – known as the Least Significant Digit [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.stringfunction.com/decimal-binary.html">Decimal to Binary conversion</a> is accomplished easily by determining whether the <strong>decimal</strong> number is odd or even, then successive <strong>division by 2</strong>, recording the result in <strong>binary</strong> form.<br />
<span id="more-117"></span></p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h3><strong>Convert Decimal to Binary</strong></h3>
<p>Try our <a href="http://www.stringfunction.com/decimal-binary.html">Decimal to Binary Converter</a><br />
As an example, the decimal number 153 is odd.</p>
<ul class="noindent">
<li> The rightmost binary digit – known as the Least Significant Digit or LSD – would be a “1”. If the number had been even, as 152, the LSD would be a “0”. As we record &#8220;1&#8243; for the LSD, we now have to divide 152 (153-1)</li>
<li>Divide the remainder (152) by 2. If the result is even, record a “0” to the left of the LSD. It is in this example, leaving 76, and the binary string is now “01”.</li>
<li>76 is evenly divided by 2, leaving 38, so record a “0”, the resulting binary string now being “001”.</li>
<li>Divide again, resulting in an odd number, 19. Record a 1, subtract the 1 from 19 and result is now “1001.”</li>
<li>Divide 18 by 2, resulting in 9. Again, it&#8217;s odd, record a 1, subtract the 1 from 9, leaving 8, the binary string is now “11001”.</li>
<li>The number 8 is evenly divisible, record a 0, resulting string is now “011001&#8243;</li>
<li>Divide 4 by 2, leaving 2, which is also even. Resulting string is now “0011001”.</li>
<li>Divide the 2 by 2, resulting in 1. Record this as the last and Most Significant Digit. <strong>The final result is the binary string “10011001”</strong> which is the <strong>representation of the decimal number 153</strong>.</li>
</ul>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<h3><strong>Convert Binary to Decimal</strong></h3>
<p>Try our <a href="http://www.stringfunction.com/binary-decimal.html">Binary to Decimal converter</a><br />
Conversion of binary to decimal values is equally simple.</p>
<ul class="noindent">
<li>Start at the least significant (rightmost) digit 10011001 is odd, record a 1.</li>
<li>The next leftmost bit is the number of 2s, which is none.</li>
<li>The next is the number of 4s. Again, none.</li>
<li>The next leftmost is the number of 8s. There is one, so record an 8.</li>
<li>The next left bit is also a 1, which the number 16s. We now have recorded 1+8+16 so far.</li>
<li>The next bit is the number of 32s, none.</li>
<li>The next is the number of 64s, again none.</li>
<li>The last, most significant digit is the number of 128s. We have 1, record that.</li>
<li>Now add the decimal numbers together 1+8+16+128, <strong>resulting in the decimal number 153</strong>.</li>
</ul>
<p>These methods are just two of several ways to accomplish the conversion. There are tables and charts which can assist in <a href="http://www.stringfunction.com/binary-decimal.html">binary to decimal conversion online</a>, as well as the opposite <a href="http://www.stringfunction.com/decimal-binary.html">decimal to binary conversion</a>. The two methods given above have the advantage of being easily done in your head without a tool, since the processes are simple addition and easy division by twos.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stringfunction.com/blog/convert-binary-and-decimal-values/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Convert Binary and Hexadecimal</title>
		<link>http://www.stringfunction.com/blog/convert-binary-and-hexadecimal/</link>
		<comments>http://www.stringfunction.com/blog/convert-binary-and-hexadecimal/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 08:59:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Conversion]]></category>
		<category><![CDATA[Binary]]></category>
		<category><![CDATA[Binary to Hexadecimal]]></category>
		<category><![CDATA[Hexadecimal]]></category>
		<category><![CDATA[Hexadecimal to Binary]]></category>
		<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[String Function]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.stringfunction.com/blog/?p=111</guid>
		<description><![CDATA[Hi guys,
Sometimes, videos make it easier to understand things. Here&#8217;s a video that explains how to convert hexadecimal to binary and how to convert binary to hexadecimal.








Enjoy!
]]></description>
			<content:encoded><![CDATA[<p>Hi guys,</p>
<p>Sometimes, videos make it easier to understand things. Here&#8217;s a video that explains how to <a href="http://www.stringfunction.com/hex-binary.html">convert hexadecimal to binary</a> and how to convert <a href="http://www.stringfunction.com/binary-hex.html">binary to hexadecimal</a>.</p>
<p><span id="more-111"></span></p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/ties8C6zhNg&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ties8C6zhNg&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stringfunction.com/blog/convert-binary-and-hexadecimal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Manually Convert an ASCII String to Hexadecimal or Binary</title>
		<link>http://www.stringfunction.com/blog/convert-ascii-string-to-hexadecimal-to-binary/</link>
		<comments>http://www.stringfunction.com/blog/convert-ascii-string-to-hexadecimal-to-binary/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 14:11:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Conversion]]></category>
		<category><![CDATA[ASCII]]></category>
		<category><![CDATA[ASCII to Binary]]></category>
		<category><![CDATA[ASCII to Hexadecimal]]></category>
		<category><![CDATA[Binary]]></category>
		<category><![CDATA[Binary to Hexadecimal]]></category>
		<category><![CDATA[Decimal]]></category>
		<category><![CDATA[Hexadecimal]]></category>
		<category><![CDATA[Manipulate String]]></category>
		<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[String Function]]></category>
		<category><![CDATA[String to Hex]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.stringfunction.com/blog/?p=46</guid>
		<description><![CDATA[In computer programming, computers only understand a binary numbering system – based on 2s. Currently, many programmers use a hexadecimal system, which is based on units of 16. Although there are many online tools to help with conversions, an understanding of manual ASCII to binary to hexadecimal conversions is helpful.






The first step is to understand [...]]]></description>
			<content:encoded><![CDATA[<p>In <strong>computer programming</strong>, computers only understand a binary numbering system – based on 2s. Currently, many programmers use a hexadecimal system, which is based on units of 16. Although there are many <strong>online tools</strong> to help with conversions, an understanding of manual ASCII to <a href="http://www.stringfunction.com/binary-hex.html">binary to hexadecimal</a> conversions is helpful.<span id="more-46"></span></p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p>The first step is to understand counting in different systems. Our usual denary system uses the digits 0 – 9. Once you reach “9” you start with 10, 11, etc back to 19. Then you move on to the 20s. Binary and hexadecimal numbering systems use the same procedure, with different digits. Binary uses only the numbers 0 and 1. Usually, these are written with four digits, so 0 in denary is 0000 in binary.</p>
<table class="table" border="0">
<thead>
<tr>
<th scope="col">Decimal</th>
<th scope="col">Binary</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>0001</td>
</tr>
<tr>
<td>2</td>
<td>0010</td>
</tr>
<tr>
<td>3</td>
<td>0011</td>
</tr>
<tr>
<td>4</td>
<td>0100</td>
</tr>
<tr>
<td>5</td>
<td>0101</td>
</tr>
<tr>
<td>6</td>
<td>0110</td>
</tr>
<tr>
<td>7</td>
<td>0111</td>
</tr>
<tr>
<td>8</td>
<td>1000</td>
</tr>
<tr>
<td>9</td>
<td>1001</td>
</tr>
<tr>
<td>10</td>
<td>1010</td>
</tr>
<tr>
<td>11</td>
<td>1011</td>
</tr>
<tr>
<td>12</td>
<td>1100</td>
</tr>
<tr>
<td>13</td>
<td>1101</td>
</tr>
<tr>
<td>14</td>
<td>1110</td>
</tr>
<tr>
<td>15</td>
<td>1111</td>
</tr>
</tbody>
</table>
<p>
The <strong>hexadecimal</strong> numbering systems uses the number 0 – 9 and A – F. They are represented by 2 numbers or letters: 00 – FF. The letter “A” is number 10, “B” is 11, and “F” is 15. Counting in hexadecimal looks like this: 00, 01, … 09, 0A, 0B, … 0F, 10, 11, … 1A, 1B, … 1F, 20, etc.</p>
<table class="table" border="0">
<thead>
<tr>
<th scope="col">Decimal</th>
<th>Hexadecimal</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>1</td>
</tr>
<tr>
<td>2</td>
<td>2</td>
</tr>
<tr>
<td>3</td>
<td>3</td>
</tr>
<tr>
<td>4</td>
<td>4</td>
</tr>
<tr>
<td>5</td>
<td>5</td>
</tr>
<tr>
<td>6</td>
<td>6</td>
</tr>
<tr>
<td>7</td>
<td>7</td>
</tr>
<tr>
<td>8</td>
<td>8</td>
</tr>
<tr>
<td>9</td>
<td>9</td>
</tr>
<tr>
<td>10</td>
<td>A</td>
</tr>
<tr>
<td>11</td>
<td>B</td>
</tr>
<tr>
<td>12</td>
<td>C</td>
</tr>
<tr>
<td>13</td>
<td>D</td>
</tr>
<tr>
<td>14</td>
<td>E</td>
</tr>
<tr>
<td>15</td>
<td>F</td>
</tr>
</tbody>
</table>
<p>
Use this tool to <a href="http://www.stringfunction.com/decimal-hex.html">convert decimal to hexadecimal</a>. Try also the opposite tool to <a href="http://www.stringfunction.com/hex-decimal.html">convert hex to decimal</a><br />
<strong>Converting between binary and hexadecimal</strong> is fairly easy. A single hexadecimal number requires four binary numbers. So the binary number 0000 = hexadecimal 0, binary 0100 is hexadecimal 4, and binary 1010 is hexadecimal A.<br />
<br />
In <strong>computer programming</strong>, you also need a way to incorporate letters. ASCII stands for American Standard Code for Information Interchange, and is based on the English alphabet. <strong>ASCII string are converted to binary or hexadecimal values</strong>, allowing words and letters to be used by computers.<br />
<br />
The values needed to <strong>convert ASCII string to binary or hexadecimal</strong> are contained in tables. However, if you don’t have access to a table, you can manually <a href="http://www.stringfunction.com/string-hex.html">convert ASCII to hex</a> or binary by memorizing a few rules and applying basic counting rules. The numbers 0 – 9 begin with binary number 0011 0000, and hexadecimal number 30. Now, if you just remember the hexadecimal value (which is just 2 characters) you can <a href="http://www.stringfunction.com/hex-binary.html">convert to binary</a>. The hexadecimal value “3” is 0011 binary, and “0” is 0000. Now you can count up through the ASCII number 9.</p>
<div>
<script type="text/javascript"><!--
google_ad_client = "pub-5778837526588624";
/* sf.com - 300x250, created 5/2/10 - Inside Blog Post */
google_ad_slot = "5307581453";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<p>The capital letters A – Z begin with hexadecimal 41 and the small letters a – z begin with hexadecimal 61 and binary number 0110 0001. One more important character – a space – is hexadecimal 20 and binary 0010 0000.<br />
<br />
Finally, here is an example with the <strong>manual conversions</strong>. To <a href="http://www.stringfunction.com/string-hex.html">convert a string to hexadecimal</a>, let&#8217;s take “Hi mom”, start with the “H”. “A” begins with hexadecimal value of 41, “B” is 42, …”G” is 47, and “H” is 48. Next is the letter “i”. “a” is hexadecimal 61, “b” is 62, … “h” is 68, and “i” is 69. So your first part is 48 69. Now insert the space, and the rest of the letters. Final answer: 48 69 20 6D 6F 6D<br />
<br />
If you remember how to count, a few <a href="http://www.stringfunction.com/string-hex.html">ASCII conversion to hex values</a>, and a little practice, manual conversions are pretty easy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.stringfunction.com/blog/convert-ascii-string-to-hexadecimal-to-binary/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

