Ben Sharpe
Not a member
Ben Sharpe's latest activity
Thursday, September 02 2010
5532
[patch] number_to_human(0) causes exception
was updated
in Ruby on Rails
-
- Title changed from number_to_human(0) causes exception to [patch] number_to_human(0) causes exception
-
- Tag changed from patch actionpack number_helper to actionpack, number_helper, patch, rails3
-
-
-
Ben Sharpe created the ticket at 2:52 PMnumber_to_human(0) causes a FloatDomainError
The offending line appears to be line 462 in number_helper.rb
number_exponent = Math.log10(number).floorMath...