new file: Files/flashplayer_32_sa.exe new file: favicon.ico new file: globe.gif new file: imgs/download.png new file: imgs/zuck.jpg new file: index.html new file: other.ico new file: script.js new file: site.webmanifest new file: sitemap.html new file: styles/backround.css new file: styles/border.css new file: styles/fonts/Titillium_Web/OFL.txt new file: styles/fonts/Titillium_Web/TitilliumWeb-Black.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Bold.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-BoldItalic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-ExtraLight.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-ExtraLightItalic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Italic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Light.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-LightItalic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Regular.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-SemiBold.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-SemiBoldItalic.ttf new file: styles/fonts/webfontkit-20221027-163353/generator_config.txt new file: styles/fonts/webfontkit-20221027-163353/specimen_files/grid_12-825-55-15.css new file: styles/fonts/webfontkit-20221027-163353/specimen_files/specimen_stylesheet.css new file: styles/fonts/webfontkit-20221027-163353/stylesheet.css new file: styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-demo.html new file: styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff new file: styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff2 new file: styles/fonts/webfontkit-20221027-165950/generator_config.txt new file: styles/fonts/webfontkit-20221027-165950/specimen_files/grid_12-825-55-15.css new file: styles/fonts/webfontkit-20221027-165950/specimen_files/specimen_stylesheet.css new file: styles/fonts/webfontkit-20221027-165950/stylesheet.css new file: styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-demo.html new file: styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff new file: styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff2 new file: styles/style.css new file: tools/2048/.gitignore new file: tools/2048/.jshintrc new file: tools/2048/CONTRIBUTING.md new file: tools/2048/LICENSE.txt new file: tools/2048/README.md new file: tools/2048/Rakefile new file: tools/2048/favicon.ico new file: tools/2048/index.html new file: tools/2048/js/animframe_polyfill.js new file: tools/2048/js/application.js new file: tools/2048/js/bind_polyfill.js new file: tools/2048/js/classlist_polyfill.js new file: tools/2048/js/game_manager.js new file: tools/2048/js/grid.js new file: tools/2048/js/html_actuator.js new file: tools/2048/js/keyboard_input_manager.js new file: tools/2048/js/local_storage_manager.js new file: tools/2048/js/tile.js new file: tools/2048/meta/apple-touch-icon.png new file: tools/webretro/cores/neocd_libretro.js new file: tools/webretro/cores/neocd_libretro.wasm new file: tools/webretro/cores/nestopia_libretro.js new file: tools/webretro/cores/nestopia_libretro.wasm new file: tools/webretro/cores/o2em_libretro.js new file: tools/webretro/cores/o2em_libretro.wasm new file: tools/webretro/cores/opera_libretro.js new file: tools/webretro/cores/opera_libretro.wasm
227 lines
8.7 KiB
HTML
227 lines
8.7 KiB
HTML
<!doctype html>
|
||
<html lang="en">
|
||
<!-- #BeginTemplate "/Templates/Main.dwt" --><!-- DW6 -->
|
||
<!-- Mirrored from www.mathsisfun.com/hexadecimals.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:35:29 GMT -->
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<!-- #BeginEditable "doctitle" -->
|
||
<title>Hexadecimals</title>
|
||
<script src="numbers/images/number-odometer.js" type="text/javascript"></script>
|
||
<link rel="stylesheet" type="text/css" href="stylejs.css">
|
||
<script>reSpell=[["colors","colours"]];</script>
|
||
<!-- #EndEditable -->
|
||
<meta name="keywords" content="math, maths, mathematics, school, homework, education">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
|
||
<meta name="HandheldFriendly" content="true">
|
||
<meta name="referrer" content="always">
|
||
<link rel="preload" href="images/style/font-champ-bold.ttf" as="font" type="font/ttf" crossorigin>
|
||
<link rel="preload" href="style4.css" as="style">
|
||
<link rel="preload" href="main4.js" as="script">
|
||
<link rel="stylesheet" href="style4.css">
|
||
<script src="main4.js" defer></script>
|
||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-29771508-1"></script>
|
||
<script>
|
||
window.dataLayer = window.dataLayer || [];
|
||
function gtag(){dataLayer.push(arguments);}
|
||
gtag('js', new Date());
|
||
gtag('config', 'UA-29771508-1');
|
||
</script>
|
||
</head>
|
||
|
||
<body id="bodybg">
|
||
|
||
<div id="stt"></div>
|
||
<div id="adTop"></div>
|
||
<header>
|
||
<div id="hdr"></div>
|
||
<div id="tran"></div>
|
||
<div id="adHide"></div>
|
||
<div id="cookOK"></div>
|
||
</header>
|
||
|
||
<div class="mid">
|
||
|
||
<nav>
|
||
<div id="menuWide" class="menu"></div>
|
||
<div id="logo"><a href="index.html"><img src="images/style/logo.svg" alt="Math is Fun"></a></div>
|
||
|
||
<div id="search" role="search"></div>
|
||
<div id="linkto"></div>
|
||
|
||
<div id="menuSlim" class="menu"></div>
|
||
<div id="menuTiny" class="menu"></div>
|
||
</nav>
|
||
|
||
<div id="extra"></div>
|
||
|
||
<article id="content" role="main">
|
||
|
||
<!-- #BeginEditable "Body" -->
|
||
|
||
|
||
<h1 class="center">Hexadecimals</h1>
|
||
|
||
<p class="center larger">A Hexadecimal Number is based on the number
|
||
<b>16</b></p>
|
||
|
||
|
||
<h2>16 Different Values</h2>
|
||
|
||
<p>There are <b>16</b> Hexadecimal digits. They are the same as the decimal digits up to 9, but then there are the letters A, B, C, D, E and F in place of the decimal numbers 10 to 15:</p>
|
||
|
||
<table align="center" width="90%" border="0">
|
||
<tbody>
|
||
<tr style="text-align:center;">
|
||
<th>Hexadecimal:</th>
|
||
<td>0</td>
|
||
<td>1</td>
|
||
<td>2</td>
|
||
<td>3</td>
|
||
<td>4</td>
|
||
<td>5</td>
|
||
<td>6</td>
|
||
<td>7</td>
|
||
<td>8</td>
|
||
<td>9</td>
|
||
<td>A</td>
|
||
<td>B</td>
|
||
<td>C</td>
|
||
<td>D</td>
|
||
<td>E</td>
|
||
<td>F</td>
|
||
</tr>
|
||
<tr style="text-align:center;">
|
||
<th width="120">Decimal:</th>
|
||
<td style="width:21px;">0</td>
|
||
<td style="width:21px;">1</td>
|
||
<td style="width:21px;">2</td>
|
||
<td style="width:21px;">3</td>
|
||
<td style="width:21px;">4</td>
|
||
<td style="width:21px;">5</td>
|
||
<td style="width:21px;">6</td>
|
||
<td style="width:21px;">7</td>
|
||
<td style="width:21px;">8</td>
|
||
<td style="width:21px;">9</td>
|
||
<td style="width:21px;">10</td>
|
||
<td style="width:21px;">11</td>
|
||
<td style="width:21px;">12</td>
|
||
<td style="width:21px;">13</td>
|
||
<td style="width:21px;">14</td>
|
||
<td style="width:21px;">15</td>
|
||
</tr>
|
||
</tbody></table>
|
||
<p>So a single Hexadecimal digit can show 16 different values instead of the normal 10.</p>
|
||
|
||
|
||
<h2>Counting</h2>
|
||
|
||
<p>Choose "Hexadecimal" below and watch it count:</p>
|
||
<script>numberodometerMain(16);</script>
|
||
<p>After the "Ones" position is filled up (after <b>F</b>) the ones start back at <b>0</b>, and we add <b>1</b> to the next position on the left (to show 1 lot of 16).</p>
|
||
<p>And after <i>that</i> position reaches <b>F</b>, we do the same thing, and so on.</p>
|
||
<p class="center larger">As we move left, every number place is <b>16
|
||
times bigger</b>.</p><br>
|
||
<div class="example">
|
||
|
||
<h3>Example: What is the decimal value of the hexadecimal number "D1CE"</h3>
|
||
<p class="center"><img src="numbers/images/hex-example.svg" alt="hexadecimal example D1CE" height="187" width="310" ></p>
|
||
</div>
|
||
<p class="center"><i>(Test it in the <a href="binary-decimal-hexadecimal-converter.html">Binary to Decimal to Hexadecimal Converter</a>.)</i></p>
|
||
|
||
|
||
<h2>The Point !</h2>
|
||
|
||
<div class="example">
|
||
|
||
<h3>Example: 2E6.A3</h3>
|
||
<p class="center"><img src="numbers/images/hexadecimal.svg" alt="hexadecimal example 2E6.A3" height="179" width="434" ></p>
|
||
<p class="center">This is <b>2×16×16 + 14×16 + 6 + 10/16 + 3/(16×16)</b><br>
|
||
=742.63671875 in Decimal<br>
|
||
Read below to find out why</p>
|
||
</div>
|
||
<p>Numbers can be placed to the left
|
||
or right of the point, to show values greater than one
|
||
or less than one:</p>
|
||
|
||
<table style="width: 100%" border="0">
|
||
<tbody>
|
||
<tr>
|
||
<td class="larger"><img src="images/style/left-arrow.gif" alt="left arrow" height="46" width="46" > •</td>
|
||
<td> </td>
|
||
<td><br>
|
||
<span class="larger">The number just to the left of the point is a whole number.
|
||
</span><br>
|
||
<span class="large">Moving <b>left</b> every number place is 16 times bigger.</span>
|
||
</td></tr>
|
||
<tr>
|
||
<td><br>
|
||
</td>
|
||
<td><br>
|
||
</td>
|
||
<td><br>
|
||
</td></tr>
|
||
<tr>
|
||
<td class="larger"> •<img src="images/style/right-arrow.gif" alt="right arrow" height="46" width="46" ></td>
|
||
<td> </td>
|
||
<td><br>
|
||
<span class="larger">The first digit on the right of the point means sixteenths (1/16).</span><br>
|
||
<span class="large">Moving <b>right</b> every number place is 16 times smaller (one sixteenth as big).</span></td></tr></tbody></table>
|
||
|
||
|
||
<h2>More Examples</h2>
|
||
|
||
<h3><b>Example 1:</b> What is 4B5 (Hexadecimal)?</h3>
|
||
<ul>
|
||
<li>The "4" is in the "16×16" position, so that means 4 ×16×16</li>
|
||
<li>The "B" (11) is in the "16" position, so that means 11 ×16</li>
|
||
<li>The "5" is in the "1" position so that means 5.</li>
|
||
<li>Answer: 4B5 = 4×16×16 + 11×16 + 5 (=1205) in Decimal</li>
|
||
</ul>
|
||
|
||
<h3><b>Example</b> 2: What is 2.3 (Hexadecimal)?</h3>
|
||
<ul>
|
||
<li>On the left side is "2", that is the whole number
|
||
part.</li>
|
||
<li>The 3 is in the "sixteenths" position, meaning "3
|
||
sixteenths", or 3/16</li>
|
||
<li>So, 2.3 is "2 and 3 sixteenths" (=2.1875 in Decimal)</li>
|
||
</ul>
|
||
<p style="float:right; margin: 0 0 5px 10px;"><img src="numbers/images/paws-16.svg" alt="Dogs have 16 toes" height="181" width="173" ></p>
|
||
|
||
|
||
<h2>Dogs</h2>
|
||
|
||
<p>Dogs would find hexadecimal easy to understand: just count on their toes!</p>
|
||
|
||
|
||
<h2>The Word "Hexadecimal"</h2>
|
||
|
||
<div class="words">The word "Hexadecimal" means "based on 16"
|
||
(From Greek <i>hexa: "six"</i> and Latin <i>decima</i>: <i>"a tenth part"</i>).</div>
|
||
<div class="questions">2016, 2017, 2018, 2019, 2020, 2021, 3595, 3596, 3597, 3598</div>
|
||
|
||
<div class="related">
|
||
<a href="binary-decimal-hexadecimal-converter.html">Binary to Decimal to Hexadecimal Converter</a>
|
||
<a href="hexadecimal-multiplication-table.html">Hexadecimal Multiplication Table</a>
|
||
<a href="games/hex-drums.html">Hexadecimal Drum Machine</a>
|
||
<a href="hexadecimal-decimal-colors.html">Hexadecimal / Decimal Colors</a>
|
||
<a href="base-conversion-method.html">Base Conversion Method</a>
|
||
<a href="decimals.html">Decimal Numbers</a>
|
||
<a href="binary-decimal-hexadecimal.html">Binary, Decimal and Hexadecimal Numbers</a>
|
||
</div>
|
||
<!-- #EndEditable -->
|
||
|
||
</article>
|
||
|
||
<div id="adend" class="centerfull noprint"></div>
|
||
<footer id="footer" class="centerfull noprint"></footer>
|
||
<div id="copyrt">Copyright © 2022 Rod Pierce</div>
|
||
|
||
</div>
|
||
</body>
|
||
<!-- #EndTemplate -->
|
||
|
||
<!-- Mirrored from www.mathsisfun.com/hexadecimals.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:35:30 GMT -->
|
||
</html>
|