Is it possible to format $invoice_total_raw

Is there a way to format $invoice_total_raw in the invoice template? I’m trying to generate instant payment QR code (for Serbia: NBS IPS QR code), but the protocol requires decimals to be separated with a comma (,) not a dot (.) - even a simple string replace would do the trick.

Hi,

@davd any ideas?