title: how to if else for type value double
body: <p>I have set </p>
  
  <pre><code>try {
      TradingHistory tradingHistory = RepositoryFactory.getTradingHistoryRepo().findbyStatusSinglemarket();
      String Symbol = tradingHistory.getSymbol();
      Double OrderQty = tradingHistory.getQty();
      String orderTypes = tradingHistory.getType();
      String type = tradingHistory.getPrice_type();
      System.out.println(Symbol+" | "+OrderQty+" | "+orderTypes);
      String IdSet = Integer.toString(tradingHistory.getId());
      String clord = "FM-";
      String clordid = clord.concat(IdSet);
      Double price = Double.valueOf(tradingHistory.getPrice());
      if(OrderQty &lt; 100000 &amp;&amp; orderTypes.equals("market")){
          System.out.println("marketOrder" +Symbol );
      }
  } catch (SQLException e) {
      e.printStackTrace();
  }
  </code></pre>
  
  <p>I have data like this one</p>
  
  <pre><code>Double OrderQty= 22222.22222222;
  </code></pre>
  
  <p>and </p>
  
  <pre><code>orderTypes="market";
  
  GBPCHF | 22222.22222222 | market
  </code></pre>
  
  <p>So I want to use if </p>
  
  <pre><code>(OrderQty &lt;100000 &amp;&amp; orderTypes.equals("market") 
  </code></pre>
  
  <p>I expected I can got </p>
  
  <pre><code>System.out.println("marketOrder" +Symbol );
  </code></pre>
  
  <p>but when I run that code I cannot got </p>
  
  <p>System.out.println("marketOrder" +Symbol );</p>
  
  <p>how do I fix it?</p>