title: Python get least significant digits from a float (without using string operations)
body: <p>Assuming I have the float 12345.6789 and I want to get the six least significant digits (i.e. 45.6789) as an int (i.e. 456789) using bit operations in python (v. 2.6).</p>
  
  <p>How do I do that?</p>
  
  <p>Thanks</p>
  
  <p>PS I do not want to use string operations even if it would be rather easy to: for any float f: </p>
  
  <pre><code>int(str(int(f * 1000))[-10:])
  </code></pre>
  
  <p>EDIT:  This original question is pointless, as shown by comments within.  Many apologies... instead methods on getting the least significant digits without using strings are shown below (using ints and modulus)</p>