title: if greater than in C#
body: <p>Edit: Problem solved, the greater than was the wrong ascii character. Even tho I didn't copy paste it from somewhere. I'll have to check my keyboard language.</p>
  
  <p>Edit: Just to make it clear, effect.Parry is an int? not a decimal. See edit below
  Edit: I changed the decimalToString. That was an error on my part but I'm still getting the error</p>
  
  <p>I am trying to do a greater than if statement in my code but I am getting an error and I just can't figure what the error is...</p>
  
  <p>Here is the part of the code.</p>
  
  <pre><code> if (effect.Parry != null)
                  {
                      txtEffect += " Parry the next " + effect.Parry.ToString() + " attack";
                      if (effect.Parry ­&gt; 1) 
                          txtEffect += "s";
                      if (effect.NumberOfTurn != 0)
                      {
                          txtEffect += " over " + effect.NumberOfTurn.ToString();
                      }
                  }
  </code></pre>
  
  <p>And here is the error I get:</p>
  
  <pre><code>Erreur  1   Caractère '-­' inattendu
  </code></pre>
  
  <p>In english it would be: Unexpected character '-'</p>
  
  <p>Can someone explain me what I did wrong? I tried ­>= and it gives me the same error. If I try without > I don't get an error.</p>
  
  <p>Edit: txtEffect is a string, effect.Parry is an int? (To allow nulls) I tried parsing it into a normal int and I get the same error as above.</p>