Re: [PHP4BETA] bug or feature ???
| From: | Zeev Suraski | Date: | Mon, 22 May 2000 23:07:51 +0000 |
| Subject: | Re: [PHP4BETA] bug or feature ??? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15480@lists.php.net to get a copy of this message | ||
At 23:58 22/05/2000 , Sascha Schumann wrote:
On Sun, 21 May 2000, Andi Gutmans wrote: We are using the C library strtod() in order to convert the number to a decimal. I see that strtod() uses locale. How should this be handled? Should we move to a US locale for the conversion? (probably a bit slow). I think using the locale is a feature, not a bug. If people choose to use locales we should not try to force an arbitrary locale onto them.Due to the fact that we have to write a scanner that analyzes the tokens, and recognizes floating point numbers, we can't support locales. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/