Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Re: Leading zero

Reply
Thread Tools

Re: Leading zero

 
 
Lars Eighner
Guest
Posts: n/a
 
      10-27-2008
In our last episode, <>, the
lovely and talented sheldonlg broadcast on alt.html:

> I* have a zip code stored in my database. It has a leading zero (say
> 01906, for example). It is stored as a varchar with the leading zero.
> When I print it out on the page, the leading zero is there. (It is
> between a <td></td>).


> I also have an export to Excel routine that formats it in what is sent
> also between <td></td>. However, in Excel it appears without the
> leading zero (1906, for example).


> How can I force the leading zero to appear?


You did not ask a question about HTML, but I would have responded by email
if you had included a valid address.

--
Lars Eighner <http://larseighner.com/>
Q. What did Palin do that Obama could not do?
A. Got me to vote for Obama.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
All leading tabs or all leading spaces - why isn't that enforced? John Nagle Python 4 08-07-2007 04:05 PM
RE: All leading tabs or all leading spaces - why isn't that enforced? Delaney, Timothy (Tim) Python 0 08-07-2007 03:50 AM
printf question, leading zero in E format? bobm2005 C Programming 4 06-08-2007 12:35 AM
add leading zero tshad ASP .Net 2 11-09-2005 04:43 AM
newbie - integer variable with leading zero for os.makedirs james Python 2 12-02-2003 06:43 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57