title: How to determine if a value is a number in apigee
body: <p><a href="http://apigee.com/docs/api-services/reference/conditions-reference" rel="nofollow">http://apigee.com/docs/api-services/reference/conditions-reference</a></p>
  
  <p>in the condition reference of apigee, how can you determine if a value is a valid number</p>
  
  <pre><code>&lt;Condition&gt; (myNumber = %d)&lt;/Condition&gt;
  &lt;Condition&gt; (myNumber ~~ "d")&lt;/Condition&gt;
  </code></pre>
  
  <p>tried both but it is still working, any idea?</p>
  
  <p><strong>Edit:</strong> </p>
  
  <p>thank you for taking time and looking at my query,</p>
  
  <p>I found out the answer, it is</p>
  
  <p> (myNumber ~~ "\d")</p>
  
  <p>~~ &lt;- means that it will evaluate the regex, and the quotes will contain the regex.</p>