Re: [PHP-DEV] [RFC] Prevent number_format() from returning negative zero

2017-04-13 Thread Craig Duncan
Just a reminder that I'll be putting the following RFC to vote in a few days. https://wiki.php.net/rfc/number_format_negative_zero I presume the silence is due to there being no more objections, so I look forward to the vote. Thanks, Craig

[PHP-DEV] [RFC] Prevent number_format() from returning negative zero

2017-04-01 Thread Craig Duncan
Hi internals. Following a brief discussion on the behaviour of number_format() last year I'd like to start discussion around an RFC to bring consistency to negative zero. When number_format() is passed -0 it doesn't display the negative sign, however if it's passed something that rounds to -0