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

From: Date: Fri, 27 Sep 2002 00:44:47 +0000
Subject: #19420 [Dup->Bgs]: Float converterd to integer
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20505@lists.php.net to get a copy of this message
ID: 19420 Updated by: sniper@php.net Reported By: remco@hosman.xs4all.nl -Status: Duplicate +Status: Bogus Bug Type: dBase related Operating System: Linux PHP Version: 4.2.0 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the original bug instead. Thank you for your interest in PHP. 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 (#20505) next »