[Tutor] Want to keep to two decimal places for currency

Marc Tompkins marc.tompkins at gmail.com
Thu Oct 24 22:21:10 CEST 2013


On Thu, Oct 24, 2013 at 11:25 AM, bob gailer <bgailer at gmail.com> wrote:

> On 10/24/2013 2:09 PM, Danny Yoo wrote:
>
>> Related: I saw a picture the other day on Google+ of an mailing envelope
>> whose zip code was written in scientific notation.
>>
> That;s odd - since ZIP codes are character, not integer,
>

You'd like to think that, wouldn't you?  I've dealt with a disturbing
number of programs (some of them from big enough names that you'd think
they'd know better) that chose to represent zip codes as integers.  You'd
think that the fact that some of them have to be zero-filled would be a big
clue... but no.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20131024/cf05dccd/attachment.html>


More information about the Tutor mailing list