Re: [PHP4BETA] bug or feature ???
[email protected] (Stanislav Malyshev)
| Newsgroups | php.version4 |
|---|---|
| Organization | Zend Technologies Ltd (http://www.zend.com/) |
| Message-ID | <[email protected]> |
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 [email protected] +972-3-6139665