wordpress query, how to query a numeric range -


I currently have a custom field with numeric values, my goal is to query these numerical values ​​among a number.

What do I have:

  'meta_query' = & gt; Array ('key' = & gt; 'score', 'value' =>; 1.8 ',' type '= & gt;' DECIMAL ',' compare '=>) =' / Code>  

This does not return the score corresponding to the above example 1.8000 .. Any ideas what I am doing wrong? thank you in advanced.

change decimal to CHAR and compare Used between methods .. the CHAR parameter should not have worked but it did.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -