show do
attributes_table do
number_row :number, as: :human
end
end
index do
number_column :number, as: :currency, unit: "$", separator: ","
end
If you want to customize the default number format, you can pass the same options passed to Rails NumberHelper methods.