lib/billme/support/helpers.rb in billme-0.40.0 vs lib/billme/support/helpers.rb in billme-0.44.0
- old
+ new
@@ -4,6 +4,12 @@
end
def show(input)
input ||= '-'
end
+end
+
+Numeric.class_eval do
+ def round_money
+ '%.2f' % self
+ end
end
\ No newline at end of file