diff --git a/lib/spree/money_decorator.rb b/lib/spree/money_decorator.rb index 3479bbd9a2..fc249151f4 100644 --- a/lib/spree/money_decorator.rb +++ b/lib/spree/money_decorator.rb @@ -6,7 +6,7 @@ Spree::Money.class_eval do end def rounded - @options[:no_cents] = true if @money.amount % 1 == 0 + @options[:no_cents] = true if @money.dollars % 1 == 0 to_s end end