|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19420 Float converterd to integer
Submitted: 2002-09-15 13:45 UTC Modified: 2002-09-26 19:44 UTC
From: remco at hosman dot xs4all dot nl Assigned:
Status: Not a bug Package: dBase related
PHP Version: 4.2.0 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: remco at hosman dot xs4all dot nl
New email:
PHP Version: OS:


 [2002-09-15 13:45 UTC] remco at hosman dot xs4all dot 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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-26 19:44 UTC]
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.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Jun 07 18:03:41 2023 UTC