Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69467 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62650 invoked from network); 2 Oct 2013 18:44:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Oct 2013 18:44:05 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.169 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.217.169 mail-lb0-f169.google.com Received: from [209.85.217.169] ([209.85.217.169:43392] helo=mail-lb0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 61/DE-23255-4796C425 for ; Wed, 02 Oct 2013 14:44:05 -0400 Received: by mail-lb0-f169.google.com with SMTP id z5so1155120lbh.28 for ; Wed, 02 Oct 2013 11:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=W8kZAei7q505cHp+H4DxeOhYHRPe0Tvv4tpJTgxiFjA=; b=dQnesplqLM90lxPx72K2NRRisZqhBo9kH22ckbWfUZ0pGSCZqvyOvTx8bAUxIuQ+Yx 0l6mwLqCRZRFPwRFblTnPrNzGE0qvjqmzqLT81PrJHwrP3o4ArT7tk4h+OFW4C/YFHIp k918Rk0gQmu5glMEydWvD8vBCpfYm3vE2Thf84Bq9yAioeYH3mloob+6112mCNLtPQt3 D+eKjowoNPzEcu8FznAQjp37TuqA01YBLBvljgvu2XG1UCgcImAqH/Ofodrob9n8HkWk rtUVg/CjFxBOF9/TbuKPBVKHuX5LKVqNgPuIx7Jo0BDfXH+fwd34R5bieOjwqYpvrWyo 7jGQ== MIME-Version: 1.0 X-Received: by 10.112.52.225 with SMTP id w1mr2803254lbo.31.1380739441369; Wed, 02 Oct 2013 11:44:01 -0700 (PDT) Received: by 10.112.133.202 with HTTP; Wed, 2 Oct 2013 11:44:01 -0700 (PDT) In-Reply-To: <524C5E81.6030907@oracle.com> References: <524C5E81.6030907@oracle.com> Date: Wed, 2 Oct 2013 20:44:01 +0200 Message-ID: To: Christopher Jones Cc: PHP internals Content-Type: multipart/alternative; boundary=001a11c3fe90ee292b04e7c67344 Subject: Re: [PHP-DEV] Locale-independent double-to-string cast From: nikita.ppv@gmail.com (Nikita Popov) --001a11c3fe90ee292b04e7c67344 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Oct 2, 2013 at 7:57 PM, Christopher Jones < christopher.jones@oracle.com> wrote: > I'd like to see float/double casts recognize the locale's decimal > separator. It's perfectly fine in Oracle DB for numbers to be > inserted/fetched with "," (or any other character) as the decimal > separator: > That will work fine for the specific case of doing a (float) cast, but it will not solve the problem in general. Oracle specifically may not have a problem with ","-numbers, but practically everything else does :/ Nikita --001a11c3fe90ee292b04e7c67344--