Subject: RE: Formatting negative numbers with format-number
From: "Jaime Stuardo" <jstuardo@xxxxxxxxxxx>
Date: Wed, 7 Jul 2004 16:58:50 -0400
|
Thanks Tracy.. that worked :-)
-----Mensaje original-----
De: Tracy Atteberry [mailto:Tracy.Atteberry@xxxxxxxxxxxx]
Enviado el: Miércoles, 07 de Julio de 2004 16:51
Para: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Asunto: RE: Formatting negative numbers with format-number
Jaime,
The format-number function takes a pattern for positive numbers and an
optional pattern for negative numbers. If there is no explicit negative
subpattern a "-" is prepended to the positive form. For example, the
pattern '#.00;(#.00)' for the number -3.12 would produce "(3.12)". Note
the second pattern following the semi-colon that specifies the format to
use for negative numbers.
-Tracy
-----Original Message-----
From: Jaime Stuardo [mailto:jstuardo@xxxxxxxxxxx]
Sent: Wednesday, July 07, 2004 3:26 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Formatting negative numbers with format-number
Hi all...
Is it posible using format-number function that the negative numbers to
be displayed enclosed in brackets? for example, -1234 = (1234)
Jaime
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
--+--
--+------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx>
--+--
|