When storing a currency value as integer (i.e. Cent), is there a way to display it in list view as Euro/Dollar?
Example: € 900 are stored in the database as 90000
. EasyAdmin displays this as 90,000
. What I'd like to have is 900
(or 900,00
or 900.00
).
In EasyAdmin's form view, you can configure this via:
form:
fields:
- { property: 'centAmount', type: 'money', type_options: { divisor: 100, currency: 'EUR' } }