Hello,
in a template, I need to format an amount. I am using
{{ doc.get_formatted("total") }}
However, that way the number is formatted with decimals… format defined in currency is not taken into account.
I tried
{{ doc.get_formatted("rounded_total", frappe.db.get_value("Currency", doc.currency, "number_format")) }}
But it does not work.
Regards
Jaime