General

Profile

Smar (Samu Voutilainen)

  • Login: Smar
  • Email: smar@smar.fi
  • Registered on: 03/25/2009
  • Last sign in: 02/22/2014

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

02/20/2014

09:34 AM Ruby Bug #9540 (Rejected): Number formatting with 4.225 fails
Hi,
When I’m trying to floor number with line ā€œ"%.2f" % 4.225ā€, I get 4.22 as result, instead of 4.23. Rounding for example with 0.025 correctly results to 0.03.
I tested this with both newest 2.0.0 patchset build and 2.1.0.
So...
Smar (Samu Voutilainen)

Also available in: Atom