#19420 [Opn->Dup]: Float converterd to integer

From: Date: Thu, 26 Sep 2002 23:21:38 +0000
Subject: #19420 [Opn->Dup]: Float converterd to integer
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20499@lists.php.net to get a copy of this message
ID: 19420 Updated by: iliaa@php.net Reported By: remco@hosman.xs4all.nl -Status: Open +Status: Duplicate Bug Type: dBase related Operating System: Linux PHP Version: 4.2.0 Previous Comments: ------------------------------------------------------------------------ [2002-09-15 13:45:41] remco@hosman.xs4all.nl normaly, if you import a float from a dbase database, you will get a float in php. but if you did setlocale(LC_ALL,"nl_NL"); first, the float from dbase is converterd to an integer. the decimal part is just lost i think this is becous the NL locale use , instead of . as the seperator ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19420&edit=1

« previous php.bugs (#20499) next »