title: How to make the predicate ignore decimal point when using NSEqualToPredicateOperatorType?
body: <p>In my application I am using the predicate to filter the values in the array of dictionary.</p>
  
  <p>Below is my array structure</p>
  
  <pre><code>    (     
      {
          Apr = "6070.3869";
          Feb = "9282.4067";
          Jan = "5367.6783";
          Jun = "7277.0928";
          Mar = "8036.672";
          May = "7677.0083";
      };
      {
          Apr = "8542.590200000001";
          Feb = "7471.3059";
          Jan = "8427.397999999999";
          Jun = "9138.6986";
          Mar = "7830.722";
          May = "9007.052600000001";
      };
     .
     .
     .
     .
     .
  )
  </code></pre>
  
  <p>I use table view to show the filtered list </p>
  
  <p>If the user select the property(from jan,feb,mar,Apr),an operator(>,&lt;,+) and enter an <code>int</code> value then I would show the filtered array </p>
  
  <p>For example if he select <code>Apr</code> and enter 7000 and select &lt; operator then I would show the array of dictionaries whose value for <code>Apr</code> key is less than 7000 </p>
  
  <p>I use below predicate to filter the array</p>
  
  <pre><code>NSPredicate *predicate;
  ///// filter is an instance of nsobject subclass ho;ding the value, key and operator
  NSExpression *lhs = [NSExpression expressionForKeyPath:filter.name];
  NSExpression *rhs = [NSExpression expressionForConstantValue:filter.values[0]];
  predicate=[NSComparisonPredicate
                     predicateWithLeftExpression:lhs
                     rightExpression:rhs
                     modifier:NSDirectPredicateModifier
                     type:[[filter operatorType] intValue]
                     options:NSCaseInsensitivePredicateOption|NSCaseInsensitiveSearch];
  </code></pre>
  
  <p>The above way is not working for NSEqualToPredicateOperatorType as the objects are floats</p>
  
  <p>I am looking for a way to ignore the decimal points while filtering. Suggest a solution for this.</p>