2017.06.12 [Rails 5] ActiveSupport::NumberHelperとActionView::Helpers::NumberHelperの数値フォーマットメソッド こんにちは、hachi8833です。 少々空いていましたが、久しぶりのActiveSupport探訪シリーズではNumberHelperを見てみます。 ActiveSupport::NumberHelperクラス ActiveSupport::NumberHelperには以下の数値フォーマット変換メソッドがあります。 #number_to_currency 数値を通貨形式に変換。単位のほかにロケールで指定もできる。 例: number_to_currency(1234567890.506, locale: :fr) # => "1 234 567 890,51 €" #number_to_delimi