[Tutor] Want to keep to two decimal places for currency
Marc Tompkins
marc.tompkins at gmail.com
Thu Oct 24 22:24:34 CEST 2013
On Thu, Oct 24, 2013 at 1:21 PM, Marc Tompkins <marc.tompkins at gmail.com>wrote:
> 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.
>
Zip+4 is a HUGE hassle for programs that have chosen to do things this
way... Zip+4 has always been optional, but the 5010 format for healthcare
billing now requires that all zip codes (except patient's actual home
addresses) be represented in 9 glorious digits... that's made a bunch of
people scramble, let me tell you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20131024/97a10894/attachment.html>
More information about the Tutor
mailing list