aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/number_helper_test.rb
Commit message (Expand)AuthorAgeFilesLines
* - Extracted `DELIMITED_REGEX` to `delimited_regex` method and made use of us...Vipul A M2015-08-281-0/+1
* Deprecate :si prefix in number_to_human_size without replacementJean Boussier2015-08-101-9/+11
* `number_to_percentage` and `precision: 0` work with `NAN` and `INFINITY`.Yves Senn2015-03-061-0/+4
* Merge pull request #12067 from jackxxu/keep_precisionRafael Mendonça França2015-02-061-0/+4
|\
| * Enable number_to_percentage to keep the number's precision by allowing :preci...Jack Xu2013-08-281-0/+4
* | Fixes the digits counter of AS's NumberToRoundedConverterXavier Noria2014-08-201-0/+1
* | Fix AS::NumberHelper results with rationalsJuanjo Bazán2014-05-311-0/+2
* | Require active_support/core_ext/string/output_safety and use html_safe rather...Mark J. Titorenko2014-05-121-1/+2
* | Use block parameter rather than `$1` during `gsub!` so `ActiveSupport::SafeBu...Mark J. Titorenko2014-05-121-0/+1
* | fix `number_to_percentage` with `Float::NAN`, `Float::INFINITY`.Yves Senn2014-03-171-0/+3
* | Fix AS::NumberHelper results with large precisionsKenta Murata & Akira Matsuda2013-12-201-0/+14
* | removed duplicate test caseKuldeep Aggarwal2013-12-041-1/+0
* | Extract ActiveSupport::NumberHelper methods to classesMatt Bridges2013-07-011-6/+0
|/
* Move number_to_human test from AP to ASCarlos Antonio da Silva2013-02-221-0/+7
* Ensure I18n format values always have precedence over defaultsCarlos Antonio da Silva2012-08-111-1/+0
* Fallback to :en locale instead of handling a constant with defaultsCarlos Antonio da Silva2012-08-111-3/+3
* Fix handling of negative zero in number_to_currencyJared Beck2012-05-281-0/+2
* Moving NumberHelpers from ActionView to ActiveSupportAndrew Mutz2012-05-271-0/+373