This is a multi-part message in MIME format.
------=_NextPart_000_0131_01C1A4E5.B1A3E9A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Charles,
Try this code.
b =3D convert(28)
Response.Write b
function convert(a)
convert =3D string(4 -len(a) , "0") + cstr(a)
end function
cheers,
Nilesh
----- Original Message -----
From: Charles deRees
To: ASP Web HowTo
Sent: Wednesday, January 23, 2002 10:40 PM
Subject: [asp_web_howto] Number Formatting (0001 instead of 1)
Any one got a function which will display numbers with leading zerors,
example : instead of 1,2,3 I would like to display 0001,0002,0003.
Charlie
$subst('Email.Unsub').