aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/number_helper
Commit message (Expand)AuthorAgeFilesLines
* - Extracted `DELIMITED_REGEX` to `delimited_regex` method and made use of us...Vipul A M2015-08-281-2/+7
* Deprecate the :prefix option of `number_to_human_size`Jean Boussier2015-08-101-0/+4
* Give respond_to? a SymbolAkira Matsuda2015-05-201-1/+1
* Freeze static arguments for gsubbrainopia2015-04-024-4/+4
* Prefer string patterns for gsubbrainopia2015-04-024-4/+4
* `number_to_percentage` and `precision: 0` work with `NAN` and `INFINITY`.Yves Senn2015-03-061-1/+1
* Doc fix [ci skip]Sushruth Sivaramakrishnan2015-03-051-2/+2
* Merge pull request #12067 from jackxxu/keep_precisionRafael Mendonça França2015-02-061-25/+28
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* Do gsub with a regexp instead of a stringPablo Herrero2014-10-292-2/+2
* Use zero-padding for number_to_rounded_converterZachary Scott2014-08-221-1/+1
* Fixes the digits counter of AS's NumberToRoundedConverterXavier Noria2014-08-201-1/+1
* Fix AS::NumberHelper results with rationalsJuanjo Bazán2014-05-311-5/+1
* Use block parameter rather than `$1` during `gsub!` so `ActiveSupport::SafeBu...Mark J. Titorenko2014-05-121-1/+3
* fix `number_to_percentage` with `Float::NAN`, `Float::INFINITY`.Yves Senn2014-03-171-2/+1
* Fix AS::NumberHelper results with large precisionsKenta Murata & Akira Matsuda2013-12-201-7/+37
* Nodoc missing number helper classes in AS [ci skip]Carlos Antonio da Silva2013-12-112-2/+2
* Remove earlier return in favor of conditionalCarlos Antonio da Silva2013-12-031-6/+9
* Change delimiter check order: first check if it is presentCarlos Antonio da Silva2013-12-031-3/+3
* Make both conversion methods work similarlyCarlos Antonio da Silva2013-12-031-1/+2
* Remove useless empty stringCarlos Antonio da Silva2013-12-031-2/+1
* No need for #tapCarlos Antonio da Silva2013-12-031-4/+3
* Avoid a hash creation since defaults is a new hash alreadyCarlos Antonio da Silva2013-12-031-1/+1
* Stop using local variables everywhere, make use of the readerCarlos Antonio da Silva2013-12-036-20/+20
* Refactor to avoid earlier returnsCarlos Antonio da Silva2013-12-031-5/+9
* Rename variable that holds whether or not the class should validate a float n...Carlos Antonio da Silva2013-12-035-9/+9
* :sicssors:Rafael Mendonça França2013-12-028-15/+2
* Options are not optionalRafael Mendonça França2013-12-021-2/+2
* Make execute priave APIRafael Mendonça França2013-12-026-5/+9
* Make load of NumberHelper thread safeRafael Mendonça França2013-12-027-19/+0
* Merge pull request #10996 from mattdbridges/number-helper-refactorRafael Mendonça França2013-12-021-2/+2
* Extract ActiveSupport::NumberHelper methods to classesMatt Bridges2013-07-018-0/+518