Re: [PHP4BETA] bug or feature ???
| From: | Stanislav Malyshev | Date: | Mon, 22 May 2000 08:31:08 +0000 |
| Subject: | Re: [PHP4BETA] bug or feature ??? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15354@lists.php.net to get a copy of this message | ||
AG>> We are using the C library strtod() in order to convert the number to a
AG>> decimal. I see that strtod() uses locale.
AG>> How should this be handled? Should we move to a US locale for the
AG>> conversion? (probably a bit slow).
Why should we handle this? If someone sets that his decimal point symbol
is ",", he should accept it being "," and not expect it to be "."
anymore.
IMHO, that's not much of our problem.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665