>Input: 2.345456
>  <xsl:value-of select="format-number($changes,'###.##%')"/>
>I want the o/p as 2.35

In addition to following the advice about ICU, notice that the
trailing % will force percent format, which is 234.55%! Given
the output you want, try '###.##' as the pattern, or '###.00'
if you always want two decimal places, even when they're zero.
.................David Marston


Reply via email to