Re: [xsl] format-number

Subject: Re: [xsl] format-number
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Tue, 28 Jan 2003 20:46:57 +0100
http://www.w3.org/TR/xslt#format-number

<xsl:decimal-format NaN="another string"/>

Regards,

Joerg

Lee, Insoo wrote:
  Quick question,
   This would return me the formatted value - but if the  'SHARE_PRICE' is
not number, it would return me NaN

<xsl:value-of select="format-number(SHARE_PRICE, '###,##0.00')"/>

  Without any if/when statements, is there anyway to overwrite it so that it
returns me NA or something else I specify insteadof NaN?
 Thanks
IL


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread