Fix markets price precision

This commit is contained in:
Svilen Markov committed 2025-03-28 14:11:17 +00:00
1 parent 233de7fc37
commit bd020c93f5
3 files changed
+15 -8

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@
<div class="market-values shrink-0">
<div class="size-h3 text-right {{ if eq .PercentChange 0.0 }}{{ else if gt .PercentChange 0.0 }}color-positive{{ else }}color-negative{{ end }}">{{ printf "%+.2f" .PercentChange }}%</div>
<div class="text-right">{{ .Currency }}{{ .Price | formatPrice }}</div>
<div class="text-right">{{ .Currency }}{{ .Price | formatPriceWithPrecision .PriceHint }}</div>
</div>
</div>
{{ end }}