title: Convert floating point number from binary to a decimal number
body: <p>I have to convert floating point number from binary to usable decimal number.</p>
  
  <p>Of course my floating point number has been separated into bytes, so 4 bytes total.<br>
  1           2           3       4<br>
  [xxxxxxxx][xxxxxxxx][xxxxxxxx][xxxxxxxx]</p>
  
  <p>These 4 bytes are already converted to decimal, so I have e.g.<br>
  1    2    3    4<br>
  [0][10][104][79]</p>
  
  <p>Now Mantissa is held in three parts, two rightmost bytes (3 &amp; 4) and in byte 2 but without the MSB bit (that one is easy to mask out, so let's assume we have a nice decimal number there as well). So three decimal numbers.</p>
  
  <p><strong>Is there an straightforward mathematical conversion to a floating point mantissa for these three decimal numbers?</strong></p>
  
  <p>This is along the lines: if I needed to get an integer, the formula would be<br>
  10 * 65536 + 104 * 256 + 79.</p>