Subject: Re: left zero pad digit string From: "Christopher R. Maden" <crism@xxxxxxxxxx> Date: Thu, 31 Aug 2000 11:32:49 -0700 |
Padding a number: Requirement: zero pad a digit string Example: 456 --> 000456 Where the new string length is a passed parameter to the padding template.
I am attempting to left zero pad a number. Presently unable to get more than 1 digit padding with my recursive padding template (below). I desire the effect of chaining concat calls. Code attached below.
-Chris -- Christopher R. Maden, Senior XML Analyst, Lexica LLC 222 Kearny St., Ste. 202, San Francisco, CA 94108-4510 +1.415.901.3631 tel./+1.415.477.3619 fax <URL:http://www.lexica.net/> <URL:http://www.oreilly.com/%7Ecrism/>
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: left zero pad digit string, Robert C. Lyons | Thread | Re: left zero pad digit string, robin |
RE: XSL bracket nested in HTML a ta, Christopher R. Maden | Date | Confused with current context, Lee Barwick |
Month |