#19420 [NEW]: Float converterd to integer

From: Date: Sun, 15 Sep 2002 18:45:41 +0000
Subject: #19420 [NEW]: Float converterd to integer
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19407@lists.php.net to get a copy of this message
From: remco@hosman.xs4all.nl Operating system: Linux PHP version: 4.2.0 PHP Bug Type: dBase related Bug description: Float converterd to integer 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 bug report at http://bugs.php.net/?id=19420&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19420&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19420&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19420&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19420&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19420&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19420&r=support Expected behavior: http://bugs.php.net/fix.php?id=19420&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19420&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19420&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19420&r=globals

« previous php.bugs (#19407) next »