We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 08c0795 commit 812242bCopy full SHA for 812242b
lib/money/money.rb
@@ -194,7 +194,7 @@ def self.setup_defaults
194
# Default to not using infinite precision cents
195
self.default_infinite_precision = false
196
197
- # Default to bankers rounding
+ # Default rounding mode toward the nearest neighbor; if the neighbors are equidistant, round away from zero
198
self.rounding_mode = BigDecimal::ROUND_HALF_UP
199
200
# Default the conversion of Rationals precision to 16
0 commit comments