From 0ffd1750d956db35c6f741e19d3210f216eb9cb8 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 2 Aug 2025 01:19:42 +0200 Subject: Use .Printer.Ftom instead of .Printer.Sprintf --- src/templates/coins-mintages.html.tmpl | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/templates/coins-mintages.html.tmpl') diff --git a/src/templates/coins-mintages.html.tmpl b/src/templates/coins-mintages.html.tmpl index 9624a8b..cfac73b 100644 --- a/src/templates/coins-mintages.html.tmpl +++ b/src/templates/coins-mintages.html.tmpl @@ -56,14 +56,14 @@ - - - - - - - - + + + + + + + + {{ $p := .Printer }} -- cgit v1.2.3
{{ .Get "Year" }}{{ .Printer.Sprintf "{N:m}" (map "N" 0.01) }}{{ .Printer.Sprintf "{N:m}" (map "N" 0.02) }}{{ .Printer.Sprintf "{N:m}" (map "N" 0.05) }}{{ .Printer.Sprintf "{N:m}" (map "N" 0.10) }}{{ .Printer.Sprintf "{N:m}" (map "N" 0.20) }}{{ .Printer.Sprintf "{N:m}" (map "N" 0.50) }}{{ .Printer.Sprintf "{N:m}" (map "N" 1.00) }}{{ .Printer.Sprintf "{N:m}" (map "N" 2.00) }}{{ .Printer.Ftom 0.01 }}{{ .Printer.Ftom 0.02 }}{{ .Printer.Ftom 0.05 }}{{ .Printer.Ftom 0.10 }}{{ .Printer.Ftom 0.20 }}{{ .Printer.Ftom 0.50 }}{{ .Printer.Ftom 1.00 }}{{ .Printer.Ftom 2.00 }}