mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Typo fix
This commit is contained in:
parent
b1b589cab6
commit
f14c94dd1a
1 changed files with 1 additions and 1 deletions
|
@ -2046,7 +2046,7 @@ BigDecimal.new(5.00, 6).to_s # => "5.0"
|
|||
|
||||
### `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
|
||||
BigDecimal.new(5.00, 6).to_formatted_s # => "5.0"
|
||||
|
|
Loading…
Reference in a new issue