title: Convert a Double to long without losing the exact value
body: <p>I have a <code>Double</code> object which loses the exact value when being converted to a <code>long</code> value.</p>
  <pre><code>Double d = 1.14*100
      
  System.out.println(d.longValue());
  </code></pre>
  <p>The above statement would print: <code>113</code>.</p>
  <p>I want <code>114</code> to be printed.</p>