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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.