Skip to content

Commit

Permalink
Formatting fix in AS changelog [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanxu authored and rafaelfranca committed Jun 16, 2014
1 parent 0728d3b commit 2c515b3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions activesupport/CHANGELOG.md
Expand Up @@ -23,10 +23,13 @@


* Fixed precision error in NumberHelper when using Rationals. * Fixed precision error in NumberHelper when using Rationals.


before: Before:

ActiveSupport::NumberHelper.number_to_rounded Rational(1000, 3), precision: 2 ActiveSupport::NumberHelper.number_to_rounded Rational(1000, 3), precision: 2
#=> "330.00" #=> "330.00"
after:
After:

ActiveSupport::NumberHelper.number_to_rounded Rational(1000, 3), precision: 2 ActiveSupport::NumberHelper.number_to_rounded Rational(1000, 3), precision: 2
#=> "333.33" #=> "333.33"


Expand Down

0 comments on commit 2c515b3

Please sign in to comment.