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
Kenta Murata & Akira Matsuda 9e997e9039 Fix AS::NumberHelper results with large precisions
before:
  ActiveSupport::NumberHelper.number_to_rounded '3.14159', precision: 50
  => "3.14158999999999988261834005243144929409027099609375"
after:
  ActiveSupport::NumberHelper.number_to_rounded '3.14159', precision: 50
  => "3.14159000000000000000000000000000000000000000000000"
2013-12-20 16:26:35 +09:00
..
number_converter.rb Stop using local variables everywhere, make use of the reader 2013-12-03 20:26:56 -02:00
number_to_currency_converter.rb Avoid a hash creation since defaults is a new hash already 2013-12-03 20:26:56 -02:00
number_to_delimited_converter.rb Rename variable that holds whether or not the class should validate a float number 2013-12-03 20:26:56 -02:00
number_to_human_converter.rb Stop using local variables everywhere, make use of the reader 2013-12-03 20:26:56 -02:00
number_to_human_size_converter.rb Nodoc missing number helper classes in AS [ci skip] 2013-12-11 20:01:54 -02:00
number_to_percentage_converter.rb :sicssors: 2013-12-02 22:32:22 -02:00
number_to_phone_converter.rb Nodoc missing number helper classes in AS [ci skip] 2013-12-11 20:01:54 -02:00
number_to_rounded_converter.rb Fix AS::NumberHelper results with large precisions 2013-12-20 16:26:35 +09:00