HTML code/CSS for round off "Amount" in Print Format

I’m looking for a HTML code which we can round off " amount " per each item when we create printing page ,please assist for a script or CSS .

Attached image is for your ref .
Printing page:

can you try code below in jinja template.

{ { frappe.utils.rounded(row.amount, 0) }}

Hi @magic-overflow ,
Can you help to insert your code in below HTML, try to understand how to format the number .

<h3>{{ doc.select_print_heading or "Invoice" }}</h3>
<div class="row">
	<div class="col-md-3 text-right">Customer Name</div>
	<div class="col-md-9">{{ doc.customer_name }}</div>
<div class="row">
	<div class="col-md-3 text-right">Date</div>
	<div class="col-md-9">{{ doc.get_formatted("invoice_date") }}</div>
<table class="table table-bordered">
			<th>Item Name</th>
			<th class="text-right">Qty</th>
			<th class="text-right">Rate</th>
			<th class="text-right">Amount</th>
		{%- for row in doc.items -%}
			<td style="width: 3%;">{{ row.idx }}</td>
			<td style="width: 20%;">
				{{ row.item_name }}
				{% if row.item_code != row.item_name -%}
				<br>Item Code: {{ row.item_code}}
				{%- endif %}
			<td style="width: 37%;">
				<div style="border: 0px;">{{ row.description }}</div></td>
			<td style="width: 10%; text-align: right;">{{ row.qty }} {{ row.uom or row.stock_uom }}</td>
			<td style="width: 15%; text-align: right;">{{
				row.get_formatted("rate", doc) }}</td>
			<td style="width: 15%; text-align: right;">{{
				row.get_formatted("amount", doc) }}</td>
		{%- endfor -%}

Change {{ row.get_formatted(“amount”, doc) }}
to {{ frappe.utils.rounded(row.amount,0) }}