title: How to get the exponent of a double in a power of 10 in java?
body: <p>(Sorry I don't know what is the best keyword to describe this problem.)</p>
  
  <p>The main problem is, if I have a double number in java, say <strong>25.003</strong>, how can I know that this number can be written in <strong>25003 x 10^(-3)</strong>, <strong>so that I can get the exponent part (-3)</strong>?</p>
  
  <p><strong>The only thing I desire is to get that exponent number (-3).</strong> (so I know I can multiply 25.003 by 1000 to make it an integer) Is there any method gives me that exponent number?</p>
  
  <p>Thanks a lot.</p>