[Home] [By Thread] [By Date] [Recent Entries]

Subject: RE: format-number
From: "Michael Semcheski" <mhs-list@xxxxxxxxx>
Date: Wed, 26 Feb 2003 16:30:54 -0500

I believe the poster was looking for information on whether a value passed
to format-number() that is not a number could be made to return something
other than NaN.

I would be interested if anyone could comment.

Mike

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mike Brown
> Sent: Wednesday, February 26, 2003 4:14 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  format-number
> 
> 
> Lee, Insoo wrote:
> >  How would I define a default value of NaN?
> >  format-number( $something, '#,###.00', 'NaN')?
> > This doesn't seem to be working...
> 
> What do you mean, default value? Do you mean the string you 
> see if $something cannot be converted to a number? Isn't 
> 'NaN' already the default?


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


Current Thread
  • format-number
    • Lee, Insoo - Wed, 26 Feb 2003 11:14:44 -0500 (EST)
      • Mike Brown - Wed, 26 Feb 2003 16:11:17 -0500 (EST)
        • Michael Semcheski - Wed, 26 Feb 2003 16:26:31 -0500 (EST) <=
      • <Possible follow-ups>
      • Lee, Insoo - Wed, 26 Feb 2003 16:41:14 -0500 (EST)
      • Lee, Insoo - Wed, 26 Feb 2003 16:56:22 -0500 (EST)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member