title: PDO::PARAM for type decimal?
body: <p>I have 2 database fields</p>
  
  <pre><code>`decval` decimal(5,2)
  `intval` int(3)
  </code></pre>
  
  <p>I have 2 pdo queries that update them. The one that updates the int works ok</p>
  
  <pre><code>$update_intval-&gt;bindParam(':intval', $intval, PDO::PARAM_INT);
  </code></pre>
  
  <p>but I can't update the decimal field. I've tried the 3 ways below, but nothing works</p>
  
  <pre><code>$update_decval-&gt;bindParam(':decval', $decval, PDO::PARAM_STR);
  $update_decval-&gt;bindParam(':decval', $decval, PDO::PARAM_INT);
  $update_decval-&gt;bindParam(':decval', $decval);
  </code></pre>
  
  <p>It seems the problem is with the database type <code>decimal</code>? Is there a <code>PDO::PARAM</code> for a field of type <code>decimal</code>? If not, what do I use as a workaround?</p>