title: Crystal reports isNumeric vs toNumber
body: <p>I am handling a field that may or may not be a numerical value. If it is not-numerical, I'll just print it as is, if it is numerical, I will do some calculations on it, so I tried:</p>
  
  <pre><code>Local StringVar TxtUnct := {RESULT.ATTRIBUTE_1};
  Local NumberVar Result := 0;
  if not(isNumeric(TxtUnct)) Then(
      TxtUnct
  );
  Local NumberVar unct :=ToNumber(TxtUnct);
  </code></pre>
  
  <p>But I end up with a " The string is non-numeric." for the last line. Obiously, it looks numerical to isNumeric, but not to ToNumber. Are there any "stricter" checks in Crystal Reports?</p>