alexr (Alexander Rusa)
- Login: alexr
- Registered on: 10/30/2012
- Last sign in: 10/30/2012
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
10/30/2012
-
10:42 PM Ruby Bug #7245 (Rejected): Float.round result not as expected
- In my second example below I would expect "1.01" as result.
1.9.3-p286 :001 > 1.05.round(1)
=> 1.1
1.9.3-p286 :002 > 1.005.round(2)
=> 1.0
1.9.3-p286 :003 > 1.006.round(2)
=> 1.01
Is this a bug or am I wrong?