Code

Imported upstream version 1.3.7.
[pkg-rrdtool.git] / doc / bin_dec_hex.html
index 7fcc0276350421cc7353e7261764e8cd0d69ab86..1592801f9f9112a84ba779f0795ea546b7be7b4c 100644 (file)
@@ -170,7 +170,8 @@ you're writing in. Some of the prefixes are ``0x'' for C, ``$'' for
 Pascal, ``#'' for HTML.  It is common to assume that if a number starts
 with a zero, it is octal. It does not matter what is used as long as
 you know what it is. I will use ``0x'' for hexadecimal, ``%'' for binary
-and ``0'' for octal.  The following numbers are all the same, just their represenatation (base) is different: 021 0x11 17 %00010001</p>
+and ``0'' for octal.  The following numbers are all the same, just their
+representation (base) is different: 021 0x11 17 %00010001</p>
 <p>To do arithmetics and conversions you need to understand one more thing.
 It is something you already know but perhaps you do not ``see'' it yet:</p>
 <p>If you write down 1234, (no prefix, so it is decimal) you are talking
@@ -249,7 +250,7 @@ is therefore ``0'' and we now have 0xA0??.
 69 is smaller than 16^2 and bigger than 16^1-1. We can subtract 16^1
 (which is just plain 16) four times and write down ``4'' to get 0xA04?.
 Subtract 64 from 69 (69 - 4*16) and the last digit is 5 --&gt; 0xA045.</p>
-<p>The other method builds ub the number from the right. Let's try 41'029
+<p>The other method builds up the number from the right. Let's try 41'029
 again.  Divide by 16 and do not use fractions (only whole numbers).</p>
 <pre>
  41'029 / 16 is 2'564 with a remainder of 5. Write down 5.
@@ -349,7 +350,7 @@ calculator and can compute in binary or hexadecimal.</p>
 other people by pointing them to this document when they are asking
 basic questions. They will not only get their answer, but at the same
 time learn a whole lot more.</p>
-<p>Alex van den Bogaerdt  &lt;<a href="mailto:alex@ergens.op.het.net">alex@ergens.op.het.net</a>&gt;</p>
+<p>Alex van den Bogaerdt  &lt;<a href="mailto:alex@vandenbogaerdt.nl">alex@vandenbogaerdt.nl</a>&gt;</p>
 
 </body>