aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/number_helper/number_to_rounded_converter.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Missing require "active_support/number_helper/number_converter"Akira Matsuda2018-10-201-0/+2
* Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-3/+3
* Remove unused `calculate_rounded_number` and `digit_count`yuuji.yaginuma2017-11-041-8/+0
* Remove unused `NumberToRoundedConverter#digits_and_rounded_number`yuuji.yaginuma2017-09-191-12/+0
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* number_to_rounded_converter: extract rounding logicMichael Hoy2017-03-161-26/+6
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-5/+5
* Freezing couple of more string '0' & '.' and using the string appending to do...Ankit Gupta2016-04-111-2/+4
* Freezing the dots as they are causing extra string initialization on every it...Ankit Gupta2016-04-101-1/+1
* `number_to_percentage` and `precision: 0` work with `NAN` and `INFINITY`.Yves Senn2015-03-061-1/+1
* Merge pull request #12067 from jackxxu/keep_precisionRafael Mendonça França2015-02-061-25/+28
* 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
* 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
* Remove earlier return in favor of conditionalCarlos Antonio da Silva2013-12-031-6/+9
* Stop using local variables everywhere, make use of the readerCarlos Antonio da Silva2013-12-031-5/+5
* Rename variable that holds whether or not the class should validate a float n...Carlos Antonio da Silva2013-12-031-2/+2
* :sicssors:Rafael Mendonça França2013-12-021-2/+0
* Make execute priave APIRafael Mendonça França2013-12-021-1/+2
* Make load of NumberHelper thread safeRafael Mendonça França2013-12-021-0/+60