From: nobu@... Date: 2016-04-02T15:34:57+00:00 Subject: [ruby-core:74788] [Ruby trunk Feature#12245] optional parameter ndigits to Integer#floor, Integer#ceil, Float#floor, Float#ceil 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: