title: Wordpress meta query not working with decimal type
body: <p>I'm trying to write a wordpress custom query ( <code>WP_Query</code> ) which filters posts by rating limit.
  This rating is a number between 0 and 10 and it maybe floating numbers as well ( 6.8 for example ) , i tried this code but it doesn't work :(</p>
  
  <pre><code>&lt;?php
  $ratings = array( 4, 7 ); // this is an example , ratings are dynamic
  
  $args = array(
      'post_type'  =&gt; 'product',
      'showposts'  =&gt; -1,
      'meta_query' =&gt; array(
          array(
              'key'     =&gt; 'aps-product-rating-total', // floating number
              'value'   =&gt; $ratings,
              'type'    =&gt; 'DECIMAL',
              'compare' =&gt; 'BETWEEN'
          )
      );
  );
  
  $filter_result = new WP_Query( $args );
  ?&gt;
  </code></pre>