title: Regarding Double data type
body: <p>When I didn't add the <code>f</code> keyword at the end of the decimal number, the output was that number only but when I did put an <code>f</code> at the end, the output was different. What is the reason for this? The language I used was Java</p>
  
  <pre><code>Double myDoubleValue = 2.45; // Output - 2.45
  
  Double myDoubleValue = 2.45f; // Output = 2.450000047683716
  </code></pre>