Re: [PHP4BETA] bug or feature ???
| From: | Joey | Date: | Mon, 22 May 2000 08:43:01 +0000 |
| Subject: | Re: [PHP4BETA] bug or feature ??? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15355@lists.php.net to get a copy of this message | ||
I think it goes even beyond that...if you set your locale to use "," as
the decimal, he should be able to /count/ on it being "," and we have no
right to meddle with it.
--Joey Smith
Please forgive the long sig:
*** Notice To Bulk Emailers: Attention! Pursuant to US Code, Title 47,
Chapter 5, Subchapter II, 227, any & all unsolicited commercial e-mail
sent to this address is subject to a download and archival fee in the
amount of the $1500 US and copies will be forwarded to domain
administrators. Emailing denotes acceptance of said terms!
On Mon, 22 May 2000, Stanislav Malyshev wrote:
> 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
>
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>