title: How to convert decimal to integer in xpath?
body: <p>The input xml includes the following element:</p>
  
  <pre><code>&lt;numberOfPayments&gt;14.0&lt;/numberOfPayments&gt;
  </code></pre>
  
  <p>I need to convert the number to integer, with following limitations:</p>
  
  <ul>
  <li>the XML is coming from an external source, I cant ask them to send me the integer</li>
  <li>it has to be an XPath, I can't use any other language</li>
  </ul>