price.rb
number_to_currency(9800*3, :locale=>'ja')
ja.yml
# 円表記
number:
currency:
format:
unit: "円"
format: "%n%u"
negative_format: "-%n%u"
precision: 0
More than 5 years have passed since last update.
number_to_currency(9800*3, :locale=>'ja')
# 円表記
number:
currency:
format:
unit: "円"
format: "%n%u"
negative_format: "-%n%u"
precision: 0
Register as a new user and use Qiita more conveniently