1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/lib/active_support/number_helper
tom-lord 7905bdfd8b Add :round_mode parameter support to number helpers
Support handling a `round_mode` in `ActiveSupport::NumberHelper::RoundingHelper`

Add default value to locale file

Update inline documentation with new parameter option

Update CHANGELOG

Add round_mode examples to all the tests

Add I18n test

Simplify logic

Further simpification
2020-01-05 21:23:02 +00:00
..
number_converter.rb [ci skip] switch eg. to proper e.g. 2019-10-07 02:18:36 +02:00
number_to_currency_converter.rb Review changes 2019-12-13 15:10:19 -07:00
number_to_delimited_converter.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
number_to_human_converter.rb [ci skip] Fix lower case comments without punctuation 2019-10-25 14:50:30 +02:00
number_to_human_size_converter.rb [ci skip] Fix lower case comments without punctuation 2019-10-25 14:50:30 +02:00
number_to_percentage_converter.rb Missing require "active_support/number_helper/number_converter" 2018-10-20 14:58:04 +09:00
number_to_phone_converter.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
number_to_rounded_converter.rb Add :round_mode parameter support to number helpers 2020-01-05 21:23:02 +00:00
rounding_helper.rb Add :round_mode parameter support to number helpers 2020-01-05 21:23:02 +00:00