2009年6月12日金曜日

金額フォーマット

number_to_currency(1500, :format=>"%u%n", :precision => 0, :unit=>"¥") #=> ¥1,500

0 件のコメント:

コメントを投稿