title: How to save numbers to mysql database as it is?
body: <p>I need to save numbers to database as it is please see the example.</p>
  
  <ul>
  <li><p>currently i save number as 22.5 and in database it is saved as 22.</p></li>
  <li><p>number in database is set as integer</p>
  
  <pre><code>//sometimes $number can be "33.5" or "33" or "1" or "1.003"or "03"
  $sql = "INSERT INTO active (name, number) VALUES ('somename','$number')";
  </code></pre></li>
  </ul>