xsl-list
[Top] [All Lists]

Re: format number mask

2003-01-08 08:21:23
Would using substring to get the 'intervals' be a good solution?
It looks like overhead. How would the Pro's format this?

Thanks for any feedback,
Joeri

----- Original Message ----- 
From: "Michael Kay" <michael(_dot_)h(_dot_)kay(_at_)ntlworld(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Wednesday, January 08, 2003 4:02 PM
Subject: RE: [xsl] format number mask


Can i use format-number to display EAN-8 / EAN-13 barcodes 
with format-number

1122222333334 should be displayed as 11.22222.33333.4
and
11222223 should be displayed as 11.22222.3


No, I don't think you can. Grouping separators can only be included at
regular intervals.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


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






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



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