diff options
author | Jack Xu <jackxxu@gmail.com> | 2013-08-28 23:46:53 -0500 |
---|---|---|
committer | Jack Xu <jackxxu@gmail.com> | 2013-08-28 23:46:53 -0500 |
commit | 24a7e609437d9e6ea61140492461631c4d5bd665 (patch) | |
tree | 4eeca3b4a541801d7e9d674fbb34c999e6341100 /actionmailer/test/fixtures/base_mailer/plain_text_only.text.erb | |
parent | 4934f19a7812b08a369c775c724410057daeb151 (diff) | |
download | rails-24a7e609437d9e6ea61140492461631c4d5bd665.tar.gz rails-24a7e609437d9e6ea61140492461631c4d5bd665.tar.bz2 rails-24a7e609437d9e6ea61140492461631c4d5bd665.zip |
Enable number_to_percentage to keep the number's precision by allowing :precision to be nil
number_helper.number_to_percentage(1000, precision: nil) # => "1000%"
Diffstat (limited to 'actionmailer/test/fixtures/base_mailer/plain_text_only.text.erb')
0 files changed, 0 insertions, 0 deletions