Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!newsfeed-00.mathworks.com!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: Integers with leading zeroes Date: Wed, 22 Jul 2015 15:20:24 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 29 Message-ID: References: <55ab37fb$0$1661$c3e8da3$5496439d@news.astraweb.com> <55aeea13$0$1669$c3e8da3$5496439d@news.astraweb.com> <55aefc70$0$1656$c3e8da3$5496439d@news.astraweb.com> <201507220712.t6M7CxJO014614@fido.openend.se> <55afb360$0$1651$c3e8da3$5496439d@news.astraweb.com> NNTP-Posting-Host: 67-130-15-94.dia.static.qwest.net Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: reader1.panix.com 1437578424 27429 67.130.15.94 (22 Jul 2015 15:20:24 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 22 Jul 2015 15:20:24 +0000 (UTC) User-Agent: slrn/1.0.2 (Linux) Xref: csiph.com comp.lang.python:94373 On 2015-07-22, Steven D'Aprano wrote: > On Wed, 22 Jul 2015 11:51 pm, Grant Edwards wrote: > >> On 2015-07-22, Ben Finney wrote: >>> Laura Creighton writes: >>> >>>> The biggest use I have for decimal numbers that begin with 0 is in >>>> credit card numbers, account numbers and the like where the first >>>> check you do is 'does this thing have the correct number of digits'. >>> >>> The following are examples of types from the real world that people >>> think of, and casually discuss, as “numbers”. >>> >>> * Postal code >>> * Credit card number >>> * Telephone number >>> * Car registration plate number >>> * Personal Identification Number (PIN) >> >> Those are all strings. Not numbers. > > I'm pretty sure that was Ben's point :-) Ah yes, now I see it was. -- Grant Edwards grant.b.edwards Yow! HELLO, everybody, at I'm a HUMAN!! gmail.com