mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-08 13:55:21 +02:00
feat(currency-converter): reduce decimal places for converted value
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user