diff options
author | Kenta Murata & Akira Matsuda <mrkn@cookpad.com> | 2013-12-20 15:35:13 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-12-20 16:26:35 +0900 |
commit | 9e997e9039435617b6a844158f5437e97f6bc107 (patch) | |
tree | 2d1e8853e3ac9b5e45fc5e06ad3ce667e6675401 /version.rb | |
parent | c437a98acaf759d53a85151947709f5efe499a27 (diff) | |
download | rails-9e997e9039435617b6a844158f5437e97f6bc107.tar.gz rails-9e997e9039435617b6a844158f5437e97f6bc107.tar.bz2 rails-9e997e9039435617b6a844158f5437e97f6bc107.zip |
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"
Diffstat (limited to 'version.rb')
0 files changed, 0 insertions, 0 deletions