title: MySQL & PHP decimal precision wrong
body: <p>24151.40 - 31891.10 = -7739.699999999997 </p>
  
  <p>I grab these two numbers from a MySQL table with the type as decimal(14,2)
  24151.40
  31891.10
  It is saved exactly as stated above and it echos exactly like that in PHP. But the minute I subtract the second value from the first value, I get a number -7739.699999999997 instead of -7,739.7. Why the extra precision? And where is it coming from?</p>