[xsl] Round function in XSL 1.0

Subject: [xsl] Round function in XSL 1.0
From: Anil Kumar Veeramalli <anil.v@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 07 Apr 2010 12:18:51 +0530
Hi
I am using XSL 1.0 version. I am looking for Rounding function similar to SQL.


<xsl:variable name="amount_val" select='8.42500'></xsl:variable>

I have a variable with the value of 8.42500. Its a string. I want to round this number to 8.43. How can I do this in XSL1.0.

Please suggest me on this.

Thanks,
Anil

Current Thread