Decimal() instead of float?

Hendrik van Rooyen mail at microcorp.co.za
Thu Nov 16 01:11:53 EST 2006


"John Salerno" <johnjsal at NOSPAMgmail.com> wrote:

> 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?

Nothing wrong with doing that - its not as if you are going to arithmetic with
them -
adding my id to yours is generally not very useful...

- Hendrik




More information about the Python-list mailing list