xsl-list
[Top] [All Lists]

Re: format-number

2003-01-28 12:46:57
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



<Prev in Thread] Current Thread [Next in Thread>