I'd like to suggest a couple of additional options for the round() function, two new flags for PHP_ROUND_UP and PHP_ROUND_DOWN; which are similar to the existing ceil() and floor() functions, but allow a precision argument as well.

The PR is at https://github.com/php/php-src/pull/1658

--
Mark Baker

 _________
|.  \     \-3
|_J_/ PHP |
|| |  __  |
|| |m|  |m|

 I LOVE PHP


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to