diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-18 03:55:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-04-18 03:55:33 +0000 |
commit | 47b092e42b3b544a62b7e53b8fae3e0d4f04438a (patch) | |
tree | 85f6ee800a80f8c10e8e60a46cd86e56b026df56 /NEWS | |
parent | 321ff96f66b9b1a3780002b501c7f39fc784a851 (diff) | |
download | ruby-47b092e42b3b544a62b7e53b8fae3e0d4f04438a.tar.gz |
numeric.c: int_truncate
* numeric.c (int_truncate): add an optional parameter, digits, as
well as Integer#round. [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,8 +43,8 @@ with all sufficient information, see the ChangeLog file or Redmine * Integer - * Integer#ceil and Integer#floor now take an optional digits, as well - as Integer#round. [Feature #12245] + * Integer#ceil, Integer#floor, and Integer#truncate now take an optional + digits, as well as Integer#round. [Feature #12245] * String |