IndonesianCurrencyFormat
Indonesia Currency Format
Convert plain integer to Indonesian rupiah format
Installation
Add this line to your application's Gemfile:
gem 'indonesian_currency_format', '~>0.0.2'
And then execute:
$ bundle
Or install it yourself as:
$ gem install indonesian_currency_format
Usage
in your view
rupiah_convert(1000) # Rp 1.000
idr_convert(1000) IDR 1.000