xsl-list
[Top] [All Lists]

Re: Formating numbers

2004-05-31 07:18:36

Antonio,

Look up the format-number() function, and the xsl:decimal-format command.

jeff



Antonio Santos wrote:

Hi,

I have several cells in my xsl with numbers (from
a XML), but these numbers aren't formatted

For example (because the information
are transaction banks)

1000000 instead of 1.000.000
1687,35 instead of 1.687,35

Do you know a funtion to "format" the original number into
a "well-formed" number?



--

-------------------------------------------------------------------------
=    Jeff Kenton      Consulting and software development               =
=                     http://home.comcast.net/~jeffrey.kenton           =
-------------------------------------------------------------------------