Number Formatting
January 23, 2016 ยท View on GitHub
Number Row
show do
attributes_table do
number_row :number, as: :human
end
end
Number Column
index do
number_column :number, as: :currency, unit: "$", separator: ","
end
Options
If you want to customize the default number format, you can pass the same options passed to Rails NumberHelper methods.