title: Strings in ternary operators interacting with numbers
body: <p>If I have an if statement that includes a string like this:</p>
  
  <pre><code>double GUInumber1 = ((GUInumber1 &gt;= 0 || &lt;= 0)? Double.parseDouble(GUIfirstNumber) : 0);
  </code></pre>
  
  <p>('GUIfirstNumber' is the string)</p>
  
  <p>Why does it come up as a error? Do I need brackets somewhere, do I need to use 'If/else' instead?</p>
  
  <p>Supposedly my compiler says it does not recognize or (<code>||</code>), is this supposed to be something else or does this work in a completely different way.</p>
  
  <p>Any help on this situation would be appreciated, also, if you need to know or are just wondering why I want to make a if statement for a string its because whenever I try to put in a letter instead of a number Java crashes, I'm hoping I could get this to alternatively solve the situation instead.</p>
  
  <p>EDIT:</p>
  
  <p>Solved, had to remove 'or' statements and alternatively make more else statements instead.</p>