Re: Encoding issue with ?

From: Date: Wed, 24 Jan 2007 17:10:18 +0000
Subject: Re: Encoding issue with ?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-247705@lists.php.net to get a copy of this message
# jochem@iamjochem.com / 2007-01-24 16:58:51 +0100: > currency values should be stored in the DB as integers (i.e. as penny > based values). no floats (so that you avoid any rounding errors) and > definitely no currency symbols! What about DECIMAL? > if you need to store which currency the price/ammount is in then use > a seperate field Or use a smart database, see e. g. http://archives.postgresql.org/pgsql-general/2005-08/msg01432.php -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991

« previous php.general (#247705) next »