title: How To Represent 0.1 In Floating Point Arithmetic And Decimal
body: <p>I am trying to understand floating point arithmetic better and have seen a few links to 'What Every Computer Scientist Should Know About Floating Point Arithmetic'.</p>
  
  <p>I still don't understand how a number like <code>0.1</code> or <code>0.5</code> is stored in floats and as decimals.</p>
  
  <p>Can someone please explain how it is laid out is memory?</p>
  
  <p>I know about the float being two parts (i.e., a number to the power of something).</p>