Re: [PHP-DEV] Re: number_format() = "-0.00"

2016-11-25 Thread Nikita Nefedov
> On 25 Nov 2016, at 21:07, David Rodrigues wrote: > > As reference, I'll put here what some languages does on this case: > > Java:-0.00 (http://ideone.com/NOxen1) > Python: -0.00 (http://ideone.com/llxGHA) > Ruby:-0.00 (http://ideone.com/j3KgMd) > C++14:

Re: [PHP-DEV] Re: number_format() = "-0.00"

2016-11-25 Thread David Rodrigues
As reference, I'll put here what some languages does on this case: Java:-0.00 (http://ideone.com/NOxen1) Python: -0.00 (http://ideone.com/llxGHA) Ruby:-0.00 (http://ideone.com/j3KgMd) C++14: -0.00 (http://ideone.com/P3WdoJ) Node.js: -0.00 (http://ideone.com/31gQgV - v0.12)

[PHP-DEV] Re: number_format() = "-0.00"

2016-11-25 Thread Craig Duncan
On 25 November 2016 at 07:54, Craig Duncan wrote: > I've submit a PR (https://github.com/php/php-src/pull/2220) to fix a bug ( > https://bugs.php.net/bug.php?id=73581). > It sounds like opinions are divided on this, I'll draft an RFC including the other instances Christoph

[PHP-DEV] Re: number_format() = "-0.00"

2016-11-25 Thread Christoph M. Becker
On 25.11.2016 at 08:54, Craig Duncan wrote: > Hi internals, > > I've submit a PR (https://github.com/php/php-src/pull/2220) to fix a bug ( > https://bugs.php.net/bug.php?id=73581). > > Kalle suggested I run the change by here to see if there are any concerns > or feedback about merging this? I