aboutsummaryrefslogtreecommitdiffstats
path: root/guides/.document
diff options
context:
space:
mode:
authorJuanjo Bazán <jjbazan@gmail.com>2014-05-28 12:40:42 +0200
committerJuanjo Bazán <jjbazan@gmail.com>2014-05-31 20:07:47 +0200
commit60062cf39a6079cf6a47a754f4b5fc6c474b9b15 (patch)
tree80d7dfb54a9b71c2101442716e27897f8a5b4b4f /guides/.document
parent4d83c2a27fb5bea5ccba468aaad4a9038a83b2b8 (diff)
downloadrails-60062cf39a6079cf6a47a754f4b5fc6c474b9b15.tar.gz
rails-60062cf39a6079cf6a47a754f4b5fc6c474b9b15.tar.bz2
rails-60062cf39a6079cf6a47a754f4b5fc6c474b9b15.zip
Fix AS::NumberHelper results with rationals
:precision was incorrectly being applied to Rationals before: ActiveSupport::NumberHelper.number_to_rounded Rational(10, 3), precision: 2 => "3.3" after: ActiveSupport::NumberHelper.number_to_rounded Rational(10, 3), precision: 2 => "3.33"
Diffstat (limited to 'guides/.document')
0 files changed, 0 insertions, 0 deletions