diff options
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/active_support_core_extensions.md | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/guides/source/active_support_core_extensions.md b/guides/source/active_support_core_extensions.md index b9f096b82a..67bed4c8da 100644 --- a/guides/source/active_support_core_extensions.md +++ b/guides/source/active_support_core_extensions.md @@ -1980,15 +1980,7 @@ and that symbol specifiers are also supported: BigDecimal.new(5.00, 6).to_s(:db) # => "5.0" ``` -Engineering notation is still supported. - -In Ruby 2.4: - -```ruby -BigDecimal.new(5.00, 6).to_s("e") # => "0.5e1" -``` - -Whereas in Ruby 2.2 and 2.3: +Engineering notation is still supported: ```ruby BigDecimal.new(5.00, 6).to_s("e") # => "0.5E1" |