title: How to convert from a float to 4 bytes in Java?
body: <p>I have not been able to convert something like this:</p>
  
  <pre><code>byte[] b = new byte[] { 12, 24, 19, 17};
  </code></pre>
  
  <p>into something like this: </p>
  
  <pre><code>float myfloatvalue = ?;
  </code></pre>
  
  <p>Could someone please give me an example?</p>
  
  <p>Also how to turn that float back to bytes?</p>