Currency Format

0
I have a microflow creating a Total field. It's based on decimal fields as recommended, are there step by step instructions on the best way to display this as currency?
asked
2 answers
2

There are also widgets that could handle this. See this one: https://appstore.home.mendix.com/link/app/34947/Finaps/FormatNumber

or this one: https://appstore.home.mendix.com/link/app/2790/JAM-IT/Bootstrap-Input-Addons

But in my humble opinion both widgets should not be necesarry and the platform should support this. Since the loss of the currency attribute the platform has not really improved for something so simple as displaying currencies.....

Regards,

Ronald

 

answered
2

In a datagrid you could do it with CSS. For example

.mx-name-columnName > div:after {
    content: '€';
}

That would work similarly in a dataview readonly attribute.

There are other options depending on the specific use case...

answered