Did you build the ICUBridge library that came with Xalan?

http://xml.apache.org/xalan-c/usagepatterns.html#icu

Go down to headers to "Enabling ICU support for number formatting and
sorting" and see if that helps you at all...
We're using format-number with Xalan-C this way, and it works great.

HTH,
Charles Nicholson

-----Original Message-----
From: Arun Ramdas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 13, 2002 5:21 PM
To: [email protected]
Subject: problems in Number formatting with Xalan-c


I am trying to format a floating point number. It seems to be working fine
with Xalan-java but not with Xalan-c

Here is what i do in the xsl
Input: 2.345456
<xsl:value-of select="format-number($changes,'###.##%')"/>

I want the o/p as 2.35

Can anyone help me out?

Thanks
Arun Ramadoss

Reply via email to