ActiveSupport::NumberHelper.number_to_currency(amount, precision: 0)
怎样在model里面使用number_to_currency
原文:http://www.cnblogs.com/gdpdroid/p/7127101.html