[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: format-number

Subject: RE: format-number
From: "Lee, Insoo" <Insoo.Lee@xxxxxx>
Date: Wed, 26 Feb 2003 16:43:24 -0500
insoo lee
Yes... That's exactly what I meant.
I would like to show some other value something like 'NA' rather than 'NaN'
for html.  For spreadsheet, I would like to show empty string '' rather than

-----Original Message-----
From: Michael Semcheski [mailto:mhs-list@xxxxxxxxx] 
Sent: Wednesday, February 26, 2003 4:31 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE:  format-number

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.


> -----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

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

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.