Skip to content

Commit 812242b

Browse files
committed
fix comment
1 parent 08c0795 commit 812242b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/money/money.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def self.setup_defaults
194194
# Default to not using infinite precision cents
195195
self.default_infinite_precision = false
196196

197-
# Default to bankers rounding
197+
# Default rounding mode toward the nearest neighbor; if the neighbors are equidistant, round away from zero
198198
self.rounding_mode = BigDecimal::ROUND_HALF_UP
199199

200200
# Default the conversion of Rationals precision to 16

0 commit comments

Comments
 (0)