Decimal() instead of float?

Terry Reedy tjreedy at udel.edu
Wed Nov 15 22:57:53 CET 2006


"John Salerno" <johnjsal at NOSPAMgmail.com> wrote in message 
news:455b82a0$0$7054$c3e8da3 at news.astraweb.com...
> John Machin wrote:
>
>> Here in Austraila, (I expect this is common to most countries), there
>> are people who are utterly clueless about elementary data model rules,
>> like identification "numbers" should be kept as strings.
>
> Do you mean that ID numbers that serve as a primary key in a database
> should also be strings?

If you mean user-entered data like social security, phone, account, part, 
or postal code 'numbers' -- as opposed to internal db-generated numbers 
that the user never sees -- this I would presume 'yes'.

tjr






More information about the Python-list mailing list