feat(currency-converter): reduce decimal places for converted value

This commit is contained in:
Herculino Trotta
2024-12-24 01:45:51 -03:00
parent c785ae92af
commit 522346a06c
2 changed files with 3 additions and 3 deletions
@@ -3,7 +3,7 @@
{% load formats %}
<input class="form-control form-control-lg mb-3"
type="text"
value="{{ converted_amount|drop_trailing_zeros|localize_number|default:'-' }}"
value="{{ converted_amount|localize_number:decimal_places|default:'-' }}"
name="to_value"
id="to_value"
disabled>