Comparing 2 Decimal Numbers from custom fields and displaying posts

Turns out the answer was staring me in the face the whole time, what i did wrong was compare the posts by “DECIMAL” when it should have been “DECIMALS”. I also added a (float) to both of my variables inside ‘value’ so it looked like this:

   'value' => array ((float) $searchnegone, (float) $searchplusone), 

Although im not sure if that would even make a difference.

Hope this helps with anyone who is having a problem. Fell free to send me a message if you need help!