Project

General

Profile

Actions

Bug #12958

closed

Breaking change in how `#round` works

Added by rafaelfranca (Rafael França) about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Target version:
-
[ruby-core:78204]

Description

We noticed in the Rails test suite that there is a breaking change in how #round works between 2.3 and 2.4

https://github.com/rails/rails/pull/27091

Is that desirable?

I think it is may cause a lot of problem if the behavior of #round without any arguments changes between a minor version.


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #12548: Rounding modes inconsistency between round versus sprintfClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0