title: SQL GROUP BY AND DOUBLE VALUE attributes
body: <p>In my database I have a table with fields Profit and Month, and Profit is type DOUBLE.</p>
  
  <p>I am executing the following query:</p>
  
  <pre><code>SELECT SUM(profit ) AS profit , Month 
                      FROM general_Table
                      Where ID = '101' AND Year = '2017'
                      GROUP BY Month
  </code></pre>
  
  <p>I am sure that my database only contains doubles with two decimal points such as 9.02 or 3.79, but the result I get is </p>
  
  <pre><code>Profit             Month
  904953.49          1
  834431.1699999999  2
  925363.4200000018  3
  </code></pre>
  
  <p>I expect that I shouldn't be getting more than two decimal points because only values that have two decimal points are entered. Could someone explain if my query is wrong? </p>