on 12-19-2022 1:09 PM
Hi Experts,
I am facing a strange issue in XSLT mapping which works fine with my testing in visual studio. But, the same is giving a different result in the Integration Suite simulation/Iflow run.
The requirement is to multiply the source volume value by 1000. PFB below details:
Mapping:
Source Field Value:
Expected Output after mapping: 22770000
Integration Suite Output: 2.277E7
Any suggestions or leads will be really helpful.
Regards,
Pavan
To prevent the output of a number in scientific notation (e.g., 2.277E7) and instead output it as a standard decimal number (e.g., 22770000), you can use the format-number function in your XSLT code.
<xsl:template match="/">
<xsl:variable name="number" select="2.277E7" />
<output>
<xsl:value-of select="format-number($number, '#')" />
</output>
</xsl:template>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.