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 | 39f31b8c87dc28fd95f4e07194ecc2c491e05f6a (patch) | |
tree | 85f6ee800a80f8c10e8e60a46cd86e56b026df56 /NEWS | |
parent | adc7cb240abea320c991430e98b633ad4e327e08 (diff) | |
download | ruby-39f31b8c87dc28fd95f4e07194ecc2c491e05f6a.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 |