Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional digits for Float#floor #4337

wants to merge 1 commit into from


Copy link

@matugm matugm commented Nov 26, 2016


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

@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
Copy link

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 Dec 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

3 participants