Re: [PHP4BETA] bug or feature ???
| From: | Andi Gutmans | Date: | Mon, 22 May 2000 14:56:06 +0000 |
| Subject: | Re: [PHP4BETA] bug or feature ??? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-15413@lists.php.net to get a copy of this message | ||
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.
Because when we scan the decimal number we look for . and not for locale
seperator.
Andi