Issue #12245 has been reported by Nobuyoshi Nakada.

----------------------------------------
Feature #12245: optional parameter ndigits to Integer#floor, Integer#ceil, Float#floor, Float#ceil
https://bugs.ruby-lang.org/issues/12245

* Author: Nobuyoshi Nakada
* Status: Open
* Priority: Normal
* Assignee: 
----------------------------------------
Related to [Feature #12244].
I think that `Integer#floor`, `Integer#ceil`, `Float#floor`, and `Float#ceil` should have optional parameter `ndigits`, as well as `round` methods.

https://github.com/ruby/ruby/compare/trunk...nobu:feature/Integer%23floor-ndigits
https://github.com/ruby/ruby/compare/trunk...nobu:feature/Integer%23ceil-ndigits
https://github.com/ruby/ruby/compare/trunk...nobu:feature/Float%23floor-ndigits
https://github.com/ruby/ruby/compare/trunk...nobu:feature/Float%23ceil-ndigits



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>