Currency comma not coming in print format while using custom html

I’m using custom HTML for total, grand total etc in print format. My problem is, the comma is not coming
For eg: Total: 30,000 but It’s Showing Total: 30000. Note, Im using Custom html.
IMG

Use get_formatted

{{ doc.get_formatted('total') }}
2 Likes