Skip to content

Add optional digits for Float#floor#4337

Closed
matugm wants to merge 1 commit intojruby:masterfrom
matugm:master
Closed

Add optional digits for Float#floor#4337
matugm wants to merge 1 commit intojruby:masterfrom
matugm:master

Conversation

@matugm
Copy link
Contributor

@matugm matugm commented Nov 26, 2016

Hey!

I implemented the 1st part of this:

  • "Float#ceil, Float#floor, and Float#truncate now take optional digits, as well as Float#round. Feature #12245"

It's my first time working on JRuby code, so I hope this is ok :)

Copy link
Member

@enebo enebo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you resubmit this PR against the ruby-2.4 branch? I also think you can omit your tests because that branch has test_floor_with_precision. Looks good though!

@matugm matugm changed the base branch from master to ruby-2.4 November 28, 2016 16:48
@matugm matugm changed the base branch from ruby-2.4 to master November 28, 2016 16:48
@enebo
Copy link
Member

enebo commented Nov 29, 2016

Since this is not Ruby 2.3 and we merged your other PR on 2.4 branch I am closing this one.

@enebo enebo closed this Nov 29, 2016
@headius headius modified the milestone: JRuby 9.2.0.0 Dec 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants