Re: Locale-independent double-to-string cast

From: Date: Wed, 02 Oct 2013 18:44:01 +0000
Subject: Re: Locale-independent double-to-string cast
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-69467@lists.php.net to get a copy of this message
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

« previous php.internals (#69467) next »