Skip to content

Commit

Permalink
Typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mikdiet committed Jul 28, 2013
1 parent b1b589c commit f14c94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/active_support_core_extensions.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2046,7 +2046,7 @@ BigDecimal.new(5.00, 6).to_s # => "5.0"


### `to_formatted_s` ### `to_formatted_s`


Te method `to_formatted_s` provides a default specifier of "F". This means that a simple call to `to_formatted_s` or `to_s` will result in floating point representation instead of engineering notation: The method `to_formatted_s` provides a default specifier of "F". This means that a simple call to `to_formatted_s` or `to_s` will result in floating point representation instead of engineering notation:


```ruby ```ruby
BigDecimal.new(5.00, 6).to_formatted_s # => "5.0" BigDecimal.new(5.00, 6).to_formatted_s # => "5.0"
Expand Down

0 comments on commit f14c94d

Please sign in to comment.