Reputation: 95
I want to format float number in xslt? I know that I should use this function format-number, but don't really know.
example: 047.6000 to 47.60
Upvotes: 0
Views: 120
Reputation: 461
You may use like this.
<xsl:value-of select="format-number(.,'#.00')"/>
Upvotes: 1