Forums » Project Fedena - UI related » Separate decimal places in financial values
I have a customer that requires that financial values be separated into decimal units, such as $1,000,000.0 instead of $1000000.0. How can I do that?
hi figassis,

you can use number_with_delimiter method.

number_with_delimiter(12345678.00) # => 12,345,678.00
Hi Surajit, thank you, do you know where I can add this code so that it propagates to all financial output values?
in views

ie.
number_with_delimiter(@finance_transaction.amount)
Hélio Surajit, where i can put this conde?
Hi everyone,

Thanks for sharing the information.