title: How to stop xml-to-json() function of xslt3.0 to convert number to exponent notation
body: <p>I am transforming a xml into json using xml-to-json() function of xslt 3.0 using Saxon 9.8 HE. The problem I am getting is that my Number value is getting converted into exponent (scientific notation). I want output same what i pass in input xml.</p>
  
  <p>xsltfiddle link
  <a href="https://xsltfiddle.liberty-development.net/94hvTyT" rel="nofollow noreferrer">https://xsltfiddle.liberty-development.net/94hvTyT</a></p>
  
  <h2>input xml</h2>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;map xmlns="http://www.w3.org/2005/xpath-functions"&gt;
     &lt;map key="Request"&gt;
       &lt;number key="price"&gt;1234567&lt;/number&gt;
     &lt;/map&gt;
  &lt;/map&gt;
  </code></pre>
  
  <p>Note that this xml is also genrated using json-to-xml() funtion of xslt 3.0</p>
  
  <h2>XSLT</h2>
  
  <pre><code>&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      version="3.0"&gt;
  
    &lt;xsl:output method="text"/&gt;
  
    &lt;xsl:template match="/"&gt;
        &lt;xsl:value-of select="xml-to-json(., map { 'indent' : true() })"/&gt;
    &lt;/xsl:template&gt;
  
  &lt;/xsl:stylesheet&gt;
  </code></pre>
  
  <h2>OUTPUT</h2>
  
  <pre><code>{ "Request" : 
      { "price" : 1.234567E6 } 
  }
  </code></pre>
  
  <h2>Desired Output</h2>
  
  <pre><code>{ "Request" : 
      { "price" : 1234567 } 
  }
  </code></pre>
  
  <p>Any solution/suggestions on it would be great help for me.</p>